Support » Fixing WordPress » Navigation Sidebar Disappears when I Click a Page

  • Resolved Matthew Trust

    (@matthew-trust)


    Hello,

    I have a left sidebar div containing my list of WordPress pages arranged in am unordered list that I’m using for navigation purposes (about me, what I do, etc.). I made a “sidebar-left.php” file and am using the following code:

    <div id="sidebar-left">
                     <ul>
                       <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
    	           <?php wp_list_pages('depth=1&title_li=0'); ?>
        	         </ul>
                     </div>

    The issue I’m having is that when I test the site on my local server, this entire div disappears when I click on any of the pages (except home). This basically forces my audience to click “back” in order to get to the home page. How do I rectify this?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Navigation Sidebar Disappears when I Click a Page’ is closed to new replies.