• Is it possible to create a drop down menu (parent page with child pages below) that excludes certain pages? In other words, some of my page links are in a different nav area, so should not appear in the top nav bar.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look at using the exclude parameter with the template tag, wp_list_pages().

    Thread Starter mimipants

    (@mimipants)

    Thanks. My current (non-drop down) menu uses the exclude parameter. But I would like to use a plugin — and I don’t think you can use the exclude parameter with the new php code in the header? I don’t know php so can’t fiddle with the plugin code (if there is indeed a way to filter out the pages).

    The only solution I found was to create a new page, save it as unpublished, and make the pages I want to exclude be children of that unpublished page. That way they don’t appear in the menu.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘drop down menu that excludes certain pages?’ is closed to new replies.