where does this php header go in my wp header.php?
-
Hello, I love wordpress and found a really powerful separate php tool for polls. It’s more advanced than Democracy wordpress plugin, but it’s not quite as easy to integrate (as you’d expect).
I followed the instructions to install, but I’m not sure if I put the header code in the wrong place. If you check
http://FirstPersonShow.net/beta1/ you’ll see that the poll is working, but I have some error messages:Warning: main(./poll_cookie.php): failed to open stream: No such file or directory in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php
on line Warning: main(./poll_cookie.php): failed to open stream:No such file or directory in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php
on line 16
Warning: main(): Failed opening ‘./poll_cookie.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php on line 16you can see it for yourself at http://FirstPersonShow.net/beta1/
I’m thinkin’ it is just the placement of this code:
<?php
/* Include this before your html code */
include “./poll_cookie.php”;
?>which I put IMMEDIATELY above the end of the </head> in my template’s header php file.
The instructions I followed for installing the poll are here:
http://proxy2.de/forum/viewtopic.php?t=4864
Cheers to anyone with suggestions and troubleshooting tips!
thanks,
Kevinhttp://FirstPersonShow.net
“celebrating the uncelebrated”free short interview segments
of interesting, regular people
mixed between the best music
on the internet
The topic ‘where does this php header go in my wp header.php?’ is closed to new replies.