php includes - undefined bloginfo (2 posts)

  1. immaturity
    Posted 10 years ago #

    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.

  2. Kafkaesqui

    Posted 10 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.