mbr_post_date
Usage
This shortcode returns the date, i.e. the date portion of post_date
, of the current post or page.
Parameters
| format | The required date format. The value set for this parameter must follow the syntax rules for the PHP function date()
.
Default: F jS, Y
Required: no. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_post_date].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
Will return the date, i.e. the date portion of post_date
, of the current post or page formatted as an example October 29th, 2021, F jS, Y.
[mbr_post_date]
Will return the date, i.e. the date portion of post_date
, of the current post or page formatted as month.day.year.
[mbr_post_date format='m.d.y']
API
There is currently no ActiveMember360 API function equivalent for this shortcode.