WordPress.org

Support

Support » How-To and Troubleshooting » Custom Page Navigation Issue

Custom Page Navigation Issue

  • conservatown

    @conservatown

    Hi all,

    I’ve set up some pages for special reports on a political news site and am a bit confused.

    When I create a new page, it asked for the parent category. The problem is, I dont want it to belong to a parent category.

    I want to link to the page from other pages, not see the page listed in the sidebar because eventually there would be a ton of pages listed there and I dont want that.

    Any ideas?

    Thanks in advance.

    (PS: I did do a search first so please do not reply with a silly post telling me to do so.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you just want to remove the Pages list from the sidebar open up your theme’s sidebar.php and remove the line <?php wp_list_pages('title_li=Pages:' ); ?> or something similar.

    conservatown

    @conservatown

    THANK YOU!!!

    If you don’t want it to belong to a parent category, simply don’t select one. I beleive this is the default option.

    You can also use <?php wp_list_pages(‘exclude=PAGE_ID&title_li=Pages:’ ); ?> to exclude some pages from the menu. If you want more pages to be excluded use exclude=6,5,2 etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Page Navigation Issue’ is closed to new replies.
Skip to toolbar