I was looking for a wp_list_pages function which display a “Child Pages” when there is one (or more), and display “Same Level Pages” where is no “Child Pages”.
I found that (which is working when hardcoded) :
The result is always and only displaying the toplevel page.
The widget form only allow to change the limit of result to display and the title ($instance[“limit”] and $instance[“title”]).
- The topic ‘Widget using WP_list_pages (display result problem)’ is closed to new replies.