Support » Fixing WordPress » dynamic includes

  • I have a problem using dynamic includes (from the tutorial) and wordpress together. I’m currently using wp 1.5.1, and it all seems fine. I use index.php for the wordpress files, and z.php for the rest of the content (dynamic includes). I’ve added

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

    in the content pages to make the wp functions work, but when I try to load these pages, all I see is a blank page. All the content is there, except the included page.

    An example:

    When I check the HTML source, there’s no coding where the page should’ve been included. So. What is it that stops the pages to be included? Please help!

    Note: Right now, I use the old fashion include to make the pages work.

Viewing 1 replies (of 1 total)
  • You’re using z.php for the includes. Are you doing anything else WP-related along with calling wp-blog-header.php? For example, are you defining the WP_USE_THEMES constant?

Viewing 1 replies (of 1 total)
  • The topic ‘dynamic includes’ is closed to new replies.