Subpages Extended

Subpages Extended plugin for WordPress, enables you to list sub pages of a post easily using both shortcode and widget functionality.

Download v[imp_version]
Downloaded [imp_downloads] times
Donate
Thank you!

Description

This widget displays subpages of a page easily. Though it’s main power is the [subpages] shortcode. Using this shortcode on a page you can create subpage indexes. You can view live demo on my wordpress page. It automatically generates subpage indexes. You can also list subpages of another page using the childof attribute of shortcode. See the examples below:

Here are subpages of my wordpress page with a depth level of 1:
[subpages depth="1" childof="286"]

If the page doesn’t have any subpages it will display the following error for you to fix it:
[subpages depth="1" childof="257"]

"#401" doesn't have any sub pages.

Installation

[imp_installation]

Usage

You can add the widget to your sidebar on WordPress widgets page. There are 3 options:

  • Title: Title of the widget
  • Exclude: Indexes of pages to be excluded. (Advanced use)
  • Depth: Depth of index.

Shortcode

The second, and more functional usage of plugin is the [subpages] shortcode. With no options given it will display subpages with no title, no exclusion and with a depth of 3. You can also use following examples to change the output:
[subpages depth="2"] – show the list with a depth of 2.
[subpages exclude="2,4,12"] – exclude subpages with indexes 2,4 and 12.
[subpages exclude="4" depth="0"] – exclude post id 4 and show all subpages.
[subpages depth="1" childof="257"] – show subpages of page with the Id of 257
[subpages depth="1" childof="257" exceptme="true"] – add current page to the exclusions. This way you can show links to other subpages of parent easily. See the bottom of this post for a demonstration.

See more shortcode examples on demo page →

Download

Download [imp_name] v[imp_version]

Downloaded [imp_downloads] times
Minimum WP Version : [imp_min_version]

[if_imp_faq]

Frequently Asked Questions

[imp_faq]
—Q. [imp_faq_question]
—A. [imp_faq_answer]
[/imp_faq]
[/if_imp_faq]

My other plugins

If you like this plugin you may also like my other wordpress plugins:

Posts about Subpages Extended

Share Your Thoughts

Your email address will not be published. Required fields are marked *

  1. Nice plugin!!!
    A nice idea would be to display the subpages’ list also depending on the user role in case of website where the user has to be logged in to access to the content.

    1. Hello Didier, You can wrap it up with a members only shortcode explained here > How to hide members only content in your posts

  2. technodiva says:

    Fabulous plugin! Can the shortcode be configured to feature a dropdown menu of subpages vs a list?

  3. jenzed says:

    Thanks! This plugin does exactly what I needed!

  4. Carlos says:

    Very nice plugin, thanks!
    In a future version I’d like to use the short code to show subpages in columns

NS Weight Release

WP-Backgrounds Lite by InoPlugs Web Design and Juwelier Schönmann 1010 Wien