>
Download This Plugin | |
Download Elegant Themes | |
Name | List Pages Shortcode |
Version | 1.7.1 |
Author | Ben Huson, Aaron Harp |
Rating | 96 |
Last updated | 2014-04-27 10:44:00 |
Downloads |
50666
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
List Pages Shortcode plugin added 16 bytes of resources to the Home page and 19 bytes of resources to the sample Post page.
List Pages Shortcode plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! List Pages Shortcode plugin ads no tables to your Wordpress blog database.Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or page. Both shortcodes accept all parameters that you can pass to the wp_list_pages()
function with the addition of a class parameter.
List pages sorted by title
[list-pages sort_column="post_title"]
List pages but exclude certain IDs and set the class of the list to "my-page-list"
[list-pages exclude="17,38" class="my-page-list"]
Show excerpt
[list-pages excerpt="1"]
List the current page's children, but only show the top level
[child-pages depth="1"]
List the current page's siblings and their subpages
[sibling-pages depth="2"]
The default values are the same as for the wp_list_pages() function except for title_li which defaults to nothing. If a class is not specified, a default class of either "list-pages", "sibling-pages" or "child-pages" is given to the UL tag. In addition, the echo parameter has no effect.
In addition to the wp_list_pages() arguments, you can also specify:
<ul>
.0
.0
.