• I am trying to exclude a page from a nav bar, but wp_list_pages doesn’t seem to want to exclude one of the pages:

    Here is the function call that is in ‘header.php’: wp_list_pages(‘title_li=’,’exclude=30′);

    and here is the link to the page that I want to exclude (“Forum”): https://www.azvoices.com/?page_id=30

    But the function still returns the page with an id of 30 (Forum).

    Also, if I remove the ‘title_li=’ parameter then I get NO pages listed!

    Ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_pages ‘exclude’ parameter doesn’t seem to be working’ is closed to new replies.