WordPress.org

Ready to get started?Download WordPress

Forums

sidebar magically showing up (2 posts)

  1. gbrent
    Member
    Posted 5 years ago #

    Why is my sidebar showing up when I run the following code. I am not calling get_sidebar();!!!!! All I want is my header

    <?php
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>
    <div id="content">
    Hello, this is a little page I made
    </div>
    <?php get_footer(); ?>

    Cheers, thanks for the help,
    gBrent

  2. Michael Fields
    Themer
    Posted 5 years ago #

    Which theme are you using? It is possible that get_sidebar() is being called in footer.php.

Topic Closed

This topic has been closed to new replies.

About this Topic