WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] External Pages with Theme Header/Sidebar/Footer (1 post)

  1. xxcari
    Member
    Posted 6 years ago #

    I have just created my own theme, and now I'm onto adding some personal pages that are not relevant to WordPress. I'm unsure of how to keep the header, sidebar and footer to stay consistent. I have tried the

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

    but that didn't work. Could it be a problem with my theme? I get this error:

    Warning: main(./home/niamhme/public_html/cari/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/niamhme/public_html/cari/cari/index.php on line 3

    Can someone please help, thanks in advanced.

Topic Closed

This topic has been closed to new replies.

About this Topic