Support » Fixing WordPress » get_sidebar makes footer and admin bar vanish

  • Resolved craigdoesdesign

    (@craigdoesdesign)


    Hi

    I’m using Starkers as a base for a new theme and need to add a sidebar which Starkers does not have included.

    I have managed to update the functions.php file and have created a sidebar.php file but when I add <?php get_sidebar ?> the footer and admin bar vanish from the page.

    However if I take the content of the sidebar.php file and place it in where <?php get_sidebar ?> would normally be then the problem does not occur.

    I have checked the footer and wp_footer() is in there.

    Any clues as to what’s going wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_sidebar makes footer and admin bar vanish’ is closed to new replies.