Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It’s <?php include('header.php'); ?>

    http://codex.wordpress.org/The_Loop

    Thread Starter dissurion

    (@dissurion)

    This is the header of the theme file? I don’t see a header outside it. And I just wan’t to call some wordpress functions without having to call the whole template, because I’m working outside the WP with a different layout and just need to display something.

    edit: I also don’t see what calling the template header would do, since it doesn’t call any WP pages.

    Thread Starter dissurion

    (@dissurion)

    I think the solution to my problem is to just create a dummy theme, with empty index file in it. That way, nothing will be displayed. In addition to that I have to move my theme to the main WP folder, using the ‘original’ index and using require wp-blog-header.

    Thread Starter dissurion

    (@dissurion)

    This doesn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘1.5 alternative for require wp-blog-header’ is closed to new replies.