WordPress.org

Forums

Nice Navigation
[resolved] How to Exclude Pages? (5 posts)

  1. langelliott
    Member
    Posted 3 years ago #

    I have been trying to add code to the "arguments" box in the Nice Nav widget to exclude a page from the list, but I haven't been able to get it to work. Here is what I'm adding:

    '

      <?php wp_list_pages('exclude=17757' ); ?>
    '

    I also tried this without the '

      ' and '
    ', but that didn't work either.

    What am I doing wrong?

    http://wordpress.org/extend/plugins/nice-navigation/

  2. langelliott
    Member
    Posted 3 years ago #

    For some reason, my reference to ul codes didn't come through on my previous post. In any event, I just need to know the proper way to add page exclusion code to the arguments box in the widget.

  3. langelliott
    Member
    Posted 3 years ago #

    OMG, I just figured out that it's as simple as adding the following: exclude=17757

  4. Dilbertfan
    Member
    Posted 2 years ago #

    OMG, I just figured out that it's as simple as adding the following: exclude=17757

    Thanks for including your solution. That helped me.

  5. prak
    Member
    Posted 2 years ago #

    Hi Langelliott,
    I am trying to include some parent pages? how could i not show them in the UI?
    Thank you and hope to hear from you soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nice Navigation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic