Title: [Plugin: List Pages Shortcode] &quot;sort_column&quot; not working
Last modified: August 20, 2016

---

# [Plugin: List Pages Shortcode] "sort_column" not working

 *  Resolved [WandererLLC](https://wordpress.org/support/users/wandererllc/)
 * (@wandererllc)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/)
 * Seems like the “sort_column” option is only honored within a parent/child relationship.
   I am trying to list all of my pages which have different parent/child relationships.
   The entire list is not sorted as a whole, but only within a parent relationship.
   In other words, one set of pages sharing a common parent is sorted. The others
   are not.
 * [http://wordpress.org/extend/plugins/list-pages-shortcode/](http://wordpress.org/extend/plugins/list-pages-shortcode/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/#post-2226889)
 * Could you post an example to illustrate exact what is sorted and what is not,
   and what you think it should be doing?
 * Thanks 🙂
 *  Thread Starter [WandererLLC](https://wordpress.org/support/users/wandererllc/)
 * (@wandererllc)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/#post-2226939)
 * Sure thing. Here’s a sample list of pages (can’t make this an image attachment
   so I’ll just paste in a subset of what the plugin outputs):
 * …
    Quality Questioning Strategy Success Talent Thinking Time Management Truth
   Winning Wisdom Work ** <– Here is the end of a set of pages with a particular
   parent page. They are correctly ordered. ** Change Management ** <– Another set
   of pages with a different parent page starts here. They are ordered too. ** Entrepreneur
   Financial Management Leadership Management People Management Sales & Marketing
 * What I expect is that all pages are ordered within the set, not broken down into
   individual groups based on parent page and ordered by those subsets. There’s 
   no indication of this parent page relationship in the short code.
 * Thanks!
 *  Plugin Author [Ben Huson](https://wordpress.org/support/users/husobj/)
 * (@husobj)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/#post-2226974)
 * I’m guessing that it is being output as a structured list, pages with their subpages.
 * Try adding depth=”-1″ to your shortcode. This should force the list to show all
   the pages in a non-structured format. Let me know if that works.
 * If not please provide the exact shortcode you are using.
 *  Thread Starter [WandererLLC](https://wordpress.org/support/users/wandererllc/)
 * (@wandererllc)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/#post-2227014)
 * Good guess! That works. Thanks for the suggestion and the support. 😀

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: List Pages Shortcode] "sort_column" not working’ is closed to
new replies.

 * ![](https://ps.w.org/list-pages-shortcode/assets/icon-256x256.png?rev=1142967)
 * [List Pages Shortcode](https://wordpress.org/plugins/list-pages-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-pages-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-pages-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/list-pages-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-pages-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-pages-shortcode/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [WandererLLC](https://wordpress.org/support/users/wandererllc/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-list-pages-shortcode-sort_column-not-working/#post-2227014)
 * Status: resolved