WordPress.org

Ready to get started?Download WordPress

Plugin Directory

List Pages Shortcode

Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or page.

1.7.1

  • When no list type specified don't wrap in list tags.
  • Update List_Pages_Shortcode_Walker_Page class with changes made to the WordPress Walker_Page class.
  • Checked WordPress 3.9 compatibility.

1.7

  • Add 'list-pages-shortcode' class to all lists.

1.6

  • Add default arg values to start_el() Walker method. Props eceleste.
  • Added shortcode_list_pages_before action.
  • Added shortcode_list_pages_after action.
  • Added list_pages_shortcode_item filter.
  • Allow specifying of post_type.

1.5

  • Added support for showing excerpt [list-pages excerpt="1"].
  • Allow filtering of excerpt output using 'list_pages_shortcode_excerpt' filter.
  • Added support for outputting as ordered list [list-pages list_type="ol"].
  • Allow HTML in 'title_li' attribute.

1.4

  • Added support for 'post_status'.

1.3

  • Added 'shortcode_list_pages_attributes' filter. Useful if you need to tweak any attributes based on context or current post type.
  • Allow 'child_of' to be overridden by shortcode parameter.

1.2

  • Added shortcode support for 'exclude_current_page' parameter.
  • Added support for extra wp_list_pages() parameters: include, sort_order, meta_key, meta_value and offset.

1.1

  • Added 'shortcode_list_pages' filter.
  • Added [sibling-pages] shortcode.

1.0

  • First release.

Requires: 2.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-27
Downloads: 44,247

Ratings

4 stars
4.6 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,3,3
100,3,3
100,1,1
100,1,1
100,1,1 100,1,1
100,2,2
100,2,2 100,3,3 100,1,1
100,1,1
100,1,1
0,1,0 100,2,2
100,1,1
100,7,7
100,2,2
100,6,6
100,4,4
100,1,1
100,2,2 100,6,6 100,1,1
100,2,2 100,3,3
100,2,2
100,3,3 100,1,1
100,2,2 100,1,1
50,2,1 100,1,1
100,3,3
100,1,1
100,2,2 100,1,1
100,1,1
100,1,1