Support » Plugin: Nice Navigation » How to Exclude Pages?

  • Resolved langelliott

    (@langelliott)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

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

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

    Thanks for including your solution. That helped me.

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Exclude Pages?’ is closed to new replies.