WordPress.org

Forums

Custom Page Navigation Issue (5 posts)

  1. conservatown
    Member
    Posted 9 years ago #

    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.)

  2. IanMoody
    Member
    Posted 9 years ago #

    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.

  3. conservatown
    Member
    Posted 9 years ago #

    THANK YOU!!!

  4. mylagoon
    Member
    Posted 9 years ago #

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

  5. lynx
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags