Display Hierarchical Pages In WordPress Using Shortcodes

Display page trees in your WordPress site using shortcodes- [pagelist], [subpages], [siblings] and [pagelist_ext]. Install and activate Page-list plugin and start using these shortcodes inside your posts and pages.

Shortcodes:

  • [pagelist] – hierarchical tree of all pages on site
  • [subpages] – hierarchical tree of subpages to the current page
  • [siblings] – hierarchical tree of sibling pages to the current page
  • [pagelist_ext] – list of pages with featured image and with excerpt (useful for showing list of products with images)

Display WordPress Page Lists

WordPress Page Lists Plugin

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.