Subpages Extended allows you to create dynamic sub-page indexes on your WordPress blog. Using its powerful shortcode [subpages] you can easily generate page indexes. In this post, I will show you how to sort your pages.

The Shortcode gives you the ability to sort your pages using WordPress core functions. You can simply sort your pages using Menu Order, and then post titles using this shortcode:

[subpages sort_column="menu_order,post_title"]

Other sorting options for subpages shortcode are listed below:

  • 'post_title' – Sort Pages alphabetically (by title) – default
  • 'menu_order' – Sort Pages by Page Order.
  • 'post_date' – Sort by creation time.
  • 'post_modified' – Sort by time last modified.
  • 'ID' – Sort by numeric Page ID.
  • 'post_author' – Sort by the Page author’s numeric ID.
  • 'post_name' – Sort alphabetically by Post slug.

To sort your pages in descending order simply include sort_order="DESC" in your shortcode:

[subpages sort_column="ID" sort_order="DESC"]

This shortcode will show newer pages on top.

Using the power of this shortcode you can make dynamic indexes on your site so easily.
For more samples & demos please visit the plugin page.

Deal Notice: We are using A2 hosting for all of our websites, and we are really happy with their service. So we wanted to share you this discount link for you to try it out. If you get a hosting using this link, you will also help us build better content for you: SSD Hosting - 300% Faster Than Standard Hard Drives