该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Js List Pages Shortcodes

描述

Support for [tree-pages], [list-pages] and [child-pages] shortcodes in your posts or pages to display all child and/or parent pages. The shortcodes accept all parameters available for (https://codex.wordpress.org/Template_Tags/wp_list_pages) function.

Usage

List of all pages with the same parents: [tree-pages]
List of all pages: [list-pages]
List of all pages sorted by title: [list-pages sort_column=”post_title”]
List of pages but exclude some page by ID: [list-pages exclude=”64,128,233″]
List of child pages exclude one page by ID: [child-pages exclude=64]

安装

  1. Download and unzip the last version of this plugin.
  2. Upload the wp-js-list-pages-shortcodes folder to ./wp-content/plugins/
  3. Go to WP Admin panel > Plugins > activate “WP Js List Pages Shortcodes”

评价

此插件暂无评价。

贡献者及开发者

“WP Js List Pages Shortcodes” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • first release

1.1

  • fixed a bug with “sort_order”.

1.2

  • added number and offset support

1.21

  • fixed a bug with “include” parameter.