-
Notifications
You must be signed in to change notification settings - Fork 3
Last Update Shortcode
Oliver Juhas edited this page Jun 22, 2017
·
3 revisions
Displays date when the last post (or custom post type) was added.
[wm_last_update post_type="post" /]
Please note that you can omit parameters with empty values when writing the shortcode.
Parameter | Type | Value example | Description |
---|---|---|---|
class |
string | my-class |
Adds a custom CSS class(es) onto shortcode wrapper. |
format |
string | PHP date format | Not really needed to set up as it defaults to Settings » General » "Date Format" WordPress setting. |
post_type |
string | Any existing post type of your WordPress website, such as post or page . |
Use your website post type IDs (you can get it from your WordPress dashboard when editing a post type). |
Please, make sure your theme supports this shortcode, before using it.
Some themes may not be compatible with certain shortcodes as they may use different approach to displaying similar elements. In that case the shortcode is displays in its raw code format on your website front-end.
— Download the plugin at WordPress plugins repository or directly via your WordPress dashboard.
— Get a compatible theme at WebManDesign.eu.
— Please help us translate the plugin into your language. Thank you! :)