Page Shortcodes Plugin

Follow here: Page Shortcodes

Embed page lists and other page information in pages and posts by way of
several shortcodes.

Shortcodes

The available shortcodes are:

  1. [page_list]
  2. [page_title]
  3. [page_content]
  4. [page_meta]
  5. [page_permalink]

Common attributes

For all shortcodes, the “name” or “id” attributes must be specified.

  • “name” is the slug name for the pathed page. If your page is /foo/bar/baz,
    then specify name as ‘foo/bar/baz’.
  • “id” is the ID for the page.

[page_list] attributes

  1. “template” attribute
    • The name of the template to use for this page list.

[page_meta] attributes

  1. “template” attribute
    • The name of the template to use for this page meta.
  2. “meta” attribute
    • The name of the meta field to include.
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录