Update causes issue with wp_list_pages
-
After installing the last update of the plugin, I am having issues with creating a dynamic side nav using wp_list_pages. The issue goes away when I deactivate Press Permit Core.
The issue that is appearing has to do with the depth argument. It looks like somehow the order was reversed as depth=1 is not getting parent pages, but child pages only. The code I’m using is:
wp_list_pages("depth=1&title_li=&child_of=".$post->ID);
This returns grandchildren of the page only.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Update causes issue with wp_list_pages’ is closed to new replies.