Title: wp_list_pages &#8220;include&#8221; parameter causing formatting issues, nesting problem
Last modified: August 19, 2016

---

# wp_list_pages “include” parameter causing formatting issues, nesting problem

 *  [llamaman](https://wordpress.org/support/users/llamaman/)
 * (@llamaman)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/wp_list_pages-include-parameter-causing-formatting-issues-nesting-problem/)
 * Hello!
    I am using the Suckerfish drop-down menu ([http://pixopoint.com/suckerfish-wordpress-plugin/](http://pixopoint.com/suckerfish-wordpress-plugin/)),
   and have encountered a peculiar problem.
 * For some reason, the children stopped nesting all of a sudden. I installed the“
   Page Links To” plugin recently, and then reordered the pages using the “My Page
   Order” WordPress plugins. I don’t know if those plugins had anything do do with
   the issue, but I uninstalled them and doing so did nothing to correct the problem.
 * Here’s what SHOULD be happening:
    Parent > Child > Child Parent Parent > Child
 * And here is what is happening:
    Parent Child Child Parent Parent Child
 * I am using the following function: `<?php wp_list_pages('title_li=&include=78,86,88,90,92,94,96,98,100,102,104,106,123,125,229');?
   >`
 * When I use `<?php wp_list_pages('title_li='); ?>`, everything works properly!
 * ALSO, when I substitute “exclude” for “include” in the wp_list_pages parameters,
   the menu formats properly (but the links aren’t what I want). So, is this a problem
   related to the “include” parameter??
 * Any thoughts?
 * The webpage is [http://gbssa.org/website/learn-more](http://gbssa.org/website/learn-more)
 * Thanks!

The topic ‘wp_list_pages “include” parameter causing formatting issues, nesting 
problem’ is closed to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [children](https://wordpress.org/support/topic-tag/children/)
 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [nesting](https://wordpress.org/support/topic-tag/nesting/)
 * [parents](https://wordpress.org/support/topic-tag/parents/)
 * [pixopoint](https://wordpress.org/support/topic-tag/pixopoint/)
 * [suckerfish](https://wordpress.org/support/topic-tag/suckerfish/)
 * [wp_list_pages](https://wordpress.org/support/topic-tag/wp_list_pages/)

 * 0 replies
 * 1 participant
 * Last reply from: [llamaman](https://wordpress.org/support/users/llamaman/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/wp_list_pages-include-parameter-causing-formatting-issues-nesting-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
