WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Visibility (6 posts)

  1. Ryan Fitzer
    Member
    Posted 8 years ago #

    Is there any way to make a page invisible in the navigation bar. I'm using a horizontal naviagtion and I want to create a page using the link.php template but I want it to be in the sidebar and not in the main naviagtion. Any tricks besides deleting the page out of the admin and manually linking as an absolute path in the sidebar?

  2. Samuel B
    moderator
    Posted 8 years ago #

    "Any tricks besides deleting the page out of the admin and manually linking as an absolute path in the sidebar?"

    That's about it.

  3. Ryan Fitzer
    Member
    Posted 8 years ago #

    Well, crap.

  4. Chris_K
    Member
    Posted 8 years ago #

  5. Ryan Fitzer
    Member
    Posted 8 years ago #

    Thanks HandySolo. In working with it I've found that it is putting the title "Pages" back into my horizontal nav and I've tried the extent of my skills (a little better than "cut & paste") to get rid of it but to no avail. Any idea how to keep this from happening? Your help is much appreciated.

  6. Ryan Fitzer
    Member
    Posted 7 years ago #

    Got it. Just took a little trial and error. Here's what I'm using(31 being the id of the page I wanted to exclude):

    <?php wp_list_pages('exclude=31&sort_column=menu_order&depth=1&title_li='); ?>

    Thanks for the help HandySolo.

Topic Closed

This topic has been closed to new replies.

About this Topic