[memb_include_post / memb_include_page / memb_include_partial]

Summary

Allows you to insert content or metadata from a page, post or partial into the current position of the shortcode. The shortcodes are synonymous and have no real difference. You can identify the content by post id, or by title.

Shortcode Examples

[memb_include_partial id=48]

[memb_include_post id=246]

[memb_include_page id=49]

Example Usage

[memb_include_post id=46 field=post_date_gmt]

[memb_include_post id=46 txtfmt=strtoupper]

[memb_include_page id=46]

Shortcode Parameters

txtfmt: A text processing function that will be applied on the output(?)
id: ID number of the post/page/partial you want to include
field: Metadata field to retrieve from the post/page/partial. List of fields can be found under “Additional Information” on this page

Shortcode Attributes

Conditional: No (?)Nestable: No (?)Accepts formatting: Yes (?)Capturable: No (?)

Additional Information

Take care to not recursively include pages. The default field to return is “post_content”, additional fields are:

Note: One cannot rely upon the GUID to be the permalink (as it previously was in pre-2.5), Nor can you expect it to be a valid link to the post. It’s merely a unique identifier, which so happens to be a link to the post at present. menu_order (integer)