php - file not including in wordpress header -


i want include file in header file in directory :

wp-content/themes/themename/header.php

the code used inclusion :

include("../../plugins/booking/informationform.php"); 

while file want include in directory :

wp-content/plugins/booking/informationform.php

so gives me error :

warning: include(../../plugins/booking/informationform.php) [function.include]: failed open stream: no such file or directory in /home/zapptv/domains/tvworkshop.com/public_html/wp-content/themes/tvworkshop/header.php on line 100

warning: include(../../plugins/booking/informationform.php) [function.include]: failed open stream: no such file or directory in /home/zapptv/domains/tvworkshop.com/public_html/wp-content/themes/tvworkshop/header.php on line 100

warning: include() [function.include]: failed opening '../../plugins/booking/informationform.php' inclusion (include_path='.:/usr/local/lib/php') in /home/zapptv/domains/tvworkshop.com/public_html/wp-content/themes/tvworkshop/header.php on line 100

but when copy file in same directory header , include filename s not giving error , including successfully.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -