Support » Fixing WordPress » php includes – undefined bloginfo

  • Sorry if this is somewhere else on this forum, but I’ve been searching for 20 minutes and havent found anything.
    My site is running using php includes for the header, footer, and other sections of the layout. The entire HEAD of each document is in the header, including the info for wordpress, the wordpress archive links are in another include file. I just upgraded to WordPress 1.5, and now my other pages that are not part of wordpress but are sharing the includes no longer work. I want the wordpress links (archive links) to show up on these other pages like they did in the previous version, but now I get “Fatal error: Call to undefined function: bloginfo() in /home/—/—/header.inc on line 3”

    Here’s an example. http://www.immaturity.org – that’s the blog that works fine, but click on “history” or “fans” on the left.
    help?!?

Viewing 1 replies (of 1 total)
  • Are you including wp-blog-header.php? This should be in the header of your template(s):

    <?php
    require_once('./wp-blog-header.php');
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘php includes – undefined bloginfo’ is closed to new replies.