[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]

partial-id

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:

ID

post_author

post_date

post_date_gmt

post_content

post_title

post_category

post_excerpt

post_status

comment_status

ping_status

post_password post_name to_ping pinged post_modified (string) The last modified datetime of the post (YYYY-MM-DD HH:MM:SS)

post_modified_gmt (string) The last modified GMT date/time of the post (YYYY-MM-DD HH:MM:SS)

post_content_filtered (string) post_parent (integer) The parent post’s ID (for attachments, etc) guid (string) A link to the post.

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)

post_type (string) (post|page|attachment)

post_mime_type (string) Mime Type (for attachments, etc)

comment_count (integer) Number of comments

ActiveCampaign Shortcode Documentation

Looking for info on the ActiveCampaign version of this shortcode?

Click Here to View the ActiveCampaign Shortcode Documentation

Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona

Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $200 OFF your ticket until the end of Monday, September 17th!

Click Here for Early Bird Pricing