Page Shortcodes Plugin Page Shortcodes Plugin

Page Shortcodes Plugin

Created by: Dragonfly Development

Rating:
Downloaded: 2k times

Follow here: Page Shortcodes

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

<h3>[page_title name=my-page-slug]</h3>
[page_list name=my-page-slug]

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.

Screenshots

  • Editing a page to include content by way of the page shortcodes plugin.
  • Rendering of the previously shown page snippet.

Categories

Get New Themes & Resources