• I may have missed this in WP docs, but I’m using the “wp_list_pages()” function for the subnav on my site. I’ve got my pages organized into parents and children, and what I’m doing is using the “child_of” parameter so that if you’re on a certain page, its children appear in the subnav.

    Problem is, I also want the appropriate parent page to appear in the subnav list. So, for instance, if one goes to our “about us” page, I want “about us” to appear in the subnav alongside its children. I’ve tried the “include=” parameter, but that seems to cancel out “child_of”.

    Any help?
    Thanks,
    Nate

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘wp_list_pages() question’ is closed to new replies.