• Resolved dsaunier

    (@dsaunier)


    Hi
    I wondered if someone could point me in the right direction, I’m not sure which keywords to search for my issue:
    I have installed a simple “CMS style” wordpress site, with a theme design that only has room for about 4 pages titles in the horizontal navigation menu. My site however requires more pages, and some minor ones like contact, about us etc, that need not be in the horizontal main nav bar.
    It seems however that each and every page gets listed in my nav bar, resulting in some being truncated and some not appearing at all.
    Could I add a “property” to my pages to indicate if they must appear in that looping menu, or would there be a plugin to do that as I guess my case is not rare ? Obviously I could use parent pages but this is not really logical in this case. Thanks WP gurus !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Does the “exclude pages” plugin do what you want?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Edit your theme to add an “exclude” parameter to the wp_list_pages call in the header. That’s the bit that produces that “horizontal navigation menu”. By modifying it to use an exclude, you can eliminate pages you don’t want in there.

    Thread Starter dsaunier

    (@dsaunier)

    Perfect, I feel bad for not thinking of that term in the first place. Should anybody be in the same situation, the plugin at

    http://wordpress.org/extend/plugins/exclude-pages/

    perfecly does what I needed. The custom programming may come handy for other needs.

    Thank to both !

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removing pages from automated menu’ is closed to new replies.