WordPress.org

Ready to get started?Download WordPress

Forums

Theme- Switcher Problem Please Help (2 posts)

  1. Misslilone2u
    Member
    Posted 8 years ago #

    Anytime I switch themes and go to a subpage the default theme takes over ..

    I put this code at the top of every subpage

    require_once("/home/lalaith/public_html/stli/wp-blog-header.php");?><?php get_header();?>

    Content

    <?php get_footer();?>

    My site (http://lalaith.org/stli)
    WordPress address and Blog (URL): http://lalaith.org/stli

    I can't think of what I did wrong ... I have tried everything I could think of.. any help would be great.

  2. moshu
    Member
    Posted 8 years ago #

    What exactly do you mean by "subpages"? Pages and their "children Pages" are created in the Write > Write Pages panel in admin. No need for any coding.
    It seesm you are doing something in a non-WP way...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags