[Resolved] Category Post in Header File
On my personal blog, I wanted to have two sections on my layout for wordpress posts. The top section is my journal, which is in its own category. The bottom section has its own category of posts to display as well, but I also want it to be the place for content.
What my goal was, was to have my journal posts displayed on every page, so I put my wordpress code for that specific category of posts in the header. The bottom section posts’ code is within the index.php file, so that my content could open up in that section on separate pages.
My problem is that the journal post code is bringing up errors for my content pages (created outside of wordpress).
Fatal error: Call to undefined function bloginfo() in /home/jaecien1/public_html/wp-content/themes/CRE8/header.php on line 12
Thanks very much for any help!
- The topic ‘[Resolved] Category Post in Header File’ is closed to new replies.