BACK TO DIRECTORY

Page Shortcodes Plugin

by dflydev

0.0
(0 ratings)

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.

Editing a page to include content by way of the page shortcodes plugin.

Rendering of the previously shown page snippet.

Rendering of the previously shown page snippet.

Plugin Details

Active Installs
10
Total Downloads
3,365
Version
0.1
Requires WP
2.8.6
Requires PHP
Tested Up To
3.0.5
Added
2010-09-12
Last Updated
2010-09-12 9:28pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0