[pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
[pagelist depth="3"]; If you want to show flat list of pages (not hierarchical tree) you can use this shortcode: [pagelist depth="-1"];[pagelist child_of="4"] where 4 is the ID of the specific page; If you want to show subpages of the current page you can use this shortcodes: [subpages] or [pagelist child_of="current"] or [pagelist child_of="this"]; If you want to show sibling pages of the current page you can use this shortcodes: [siblings] or [pagelist child_of="parent"];[pagelist exclude="6,7,8"] where exclude parameter accepts comma-separated list of Page IDs; You may exclude current page with this shortcode: [pagelist exclude="current"];[pagelist exclude_tree="7,10"] where exclude_tree parameter accepts comma-separated list of Page IDs (all this pages and their subpages will be excluded);[pagelist include="6,7,8"] where include parameter accepts comma-separated list of Page IDs;[pagelist title_li="<h2>List of pages</h2>"]; by default there is no title (title_li="");[pagelist number="10"]; by default the number is unlimited (number="");[pagelist offset="5"]; by default there is no offset (offset="");[pagelist meta_key="metakey" meta_value="metaval"];[pagelist show_date="created"]; you can use this values for show_date parameter: created, modified, updated;[pagelist sort_column="menu_order"]; by default order columns are menu_order and post_title (sort_column="menu_order, post_title"); you can use this values for sort_column parameter: post_title, menu_order, post_date (sort by creation time), post_modified (sort by last modified time), ID, post_author (sort by the page author's numeric ID), post_name (sort by page slug);[pagelist sort_order="desc"]; by default sort_order is asc (sort_order="asc"); you can use this values for sort_order parameter: asc, desc;[pagelist link_before="<span>"]; you may specify html tags only in the HTML tab in your Rich-text editor;[pagelist link_after="</span>"]; you may specify html tags only in the HTML tab in your Rich-text editor;[pagelist class="listclass"]; by default the class is empty (class="");[pagelist_ext show_image="0"]; "show_image" have higher priority than "show_first_image"; by default: show_image="1";[pagelist_ext show_first_image="1"]; by default: show_first_image="0";[pagelist_ext show_title="0"]; by default: show_title="1";[pagelist_ext show_content="0"]; by default: show_content="1";[pagelist_ext more_tag="0"]; this parameter does not add "more-link" to the end of content, it just cut content before more-tag; "more_tag" parameter have higher priority than "limit_content"; by default the more_tag is enabled (more_tag="1") and showing only content before more tag;[pagelist_ext limit_content="100"]; by default: limit_content="250";[pagelist_ext image_width="80"]; by default: image_width="50";[pagelist_ext image_height="80"]; by default: image_height="50";[pagelist_ext child_of="4"] where 4 is the ID of the specific page; by default it shows subpages to the current page;[pagelist_ext parent="4"] where 4 is the ID of the specific page and the depth will be only one level; by default parent="-1" and depth is unlimited;[pagelist_ext sort_order="desc"]; by default: sort_order="asc"; you can use this values for sort_order parameter: asc, desc;[pagelist_ext sort_column="menu_order"]; by default order columns are sort_column and post_title (sort_column="menu_order, post_title"); you can use this values for sort_column parameter: post_title, menu_order, post_date (sort by creation time), post_modified (sort by last modified time), ID, post_author (sort by the page author's numeric ID), post_name (sort by page slug);[pagelist_ext hierarchical="0"]; by default: hierarchical="1";[pagelist_ext exclude="6,7,8"] where exclude parameter accepts comma-separated list of Page IDs;[pagelist_ext exclude_tree="7,10"] where exclude_tree parameter accepts comma-separated list of Page IDs (all this pages and their subpages will be excluded);[pagelist_ext include="6,7,8"] where include parameter accepts comma-separated list of Page IDs;[pagelist_ext meta_key="metakey" meta_value="metaval"];[pagelist_ext authors="6,7,8"];[pagelist_ext number="10"]; by default the number is unlimited (number="");[pagelist_ext offset="5"]; by default there is no offset (offset="");[pagelist_ext post_type="page"];[pagelist_ext post_status="publish"];[pagelist_ext class="listclass"]; by default the class is empty (class="");[pagelist_ext strip_tags="0"]; by default the strip_tags is enabled (strip_tags="1");[pagelist_ext strip_shortcodes="0"]; by default the strip_shortcodes is enabled (strip_shortcodes="1") and all registered shortcodes are removed;[pagelist_ext show_child_count="1"]; by default the child_count is disabled (show_child_count="0"); If show_child_count="1", but count of subpages=0, than child count is not showing;[pagelist_ext show_child_count="1" child_count_template="Subpages: %child_count%"]; by default child_count_template="Subpages: %child_count%";[pagelist_ext show_meta_key="your_meta_key"]; by default the show_meta_key is empty (show_meta_key=""); If show_meta_key is enabled, but meta_value is empty, than meta_key is not showing;[pagelist_ext show_meta_key="your_meta_key" meta_template="Meta: %meta%"]; by default meta_template="%meta%";
Requires: 3.0 or higher
Compatible up to: 3.5.1
Last Updated: 2013-3-19
Downloads: 54,728
14 of 15 support threads in the last two months have been resolved.
Got something to say? Need help?