Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Automatically display the date a post or page was last updated.

Required Attributes

none

Optional Attributes

format

Specify the format of the date displayed. Use any of the special date variables listed at this WordPress codex page. If you want to insert plain text (like the word "at" for instance) escape each letter with a backslash, \l\i\k\e \t\h\i\s.

Default: m/d/Y

before

HTML to insert before the last updated date.

Default: The .item-date class is added to the code to make the text italic.

<div class="listing-module"><p><span class="item-date">Updated:

after

Tags to insert after the last updated date.

Default: The default tags are closed.

</span></p></div>

Examples

[lastupdated]

++insert image

UWSA Notes

This is the Last Updated Shortcode modified with UWSA-specific defaults.

This shortcode is implemented in the Last Updated Zuse Module.

  • No labels