Description
This shortcode will allow you to pull information about the post into your content.
Shortcode Examples
To show the post title you would use:
[memb_post_meta fields="post_title"]
Shortcode Parameters
capture | Capture the output of the shortcode and route it to a variable for later use. (?) |
|---|---|
date_format | The formatting to use for your date field. You can read more about the date formatting options here. |
fields | The field you want to display from the post meta. |
htmlattr | Embeds the output of the shortcode into an HTML attribute. For example to put the shortcode output into the href attribute of an <a> tag, you would use htmlattr=href. |
separator | The string to use to separate the list of fields when output. The default separator is a single space. |
after | The phrase to put after dates in the future. |
before | The phrase to put after dates in the past. |
txtfmt | A comma separated list of text processing functions to be used to post process the contact fields. (?) |
Shortcode Attributes
| Conditional | No |
|---|---|
| Nestable | No |
| Accepts formatting | Yes |
| Capturable | Yes |