WordPress plugin
WP Date and Time Shortcode Pro
WP Date and Time Shortcode Pro is described as a planned annual-subscription edition of WP Date and Time Shortcode. The underlying extension displays current, past or future dates and times in WordPress posts and pages. Its Pro feature list describes additional options and notes that some may not be included in the first release.
WP Date and Time Shortcode Pro for WordPress date shows
WP Date and Time Shortcode Pro is described as a planned annual-subscription edition of WP Date and Time Shortcode. The underlying extension displays current, past or future dates and times in WordPress posts and pages. Its Pro feature list describes additional options and notes that some may not be included in the first release.
Choose the date or time output
The main [wpdts] shortcode supports the available attributes and defaults to the WordPress date and time format. Other shortcode forms use the default date or time format, a custom format based on PHP date and time characters, or individual values such as the year, month, day, hour, minute, second, Unix timestamp, day or week of the year, and number of days in a month or year. Month and weekday values can appear as numbers, full names or abbreviations.
Set a starting date and adjust it
Output can start from the current WordPress time, a fixed or relative date and time, or a post or page's creation or modification time, including GMT variants. Attributes can move the result forward or backward by years, months, days, hours, minutes or seconds. A next-date option can choose an upcoming weekday, day of the month or the month's last day.
Pro capabilities listed
- Cached-page updates: JavaScript can update shortcode output on cached pages.
- Visit and event dates: Listed starting values include a user's first or last visit, when available through cookies, a session or a user option, plus dates such as Easter, Passover, Hanukkah, Thanksgiving, Christmas and Chinese New Year.
- Visitor time zones: A browser or IP-based time-zone option can adjust the result for a visitor. IP-based detection may not be fully accurate.
- Style and counters: The style option changes font face, color and size; the counter option updates displayed values like a ticking text clock.
- Shortcode Wizard: A step-by-step interface helps assemble shortcode attributes.
Use in WordPress content
WordPress applies shortcodes in post and page content by default. Shortcodes in titles, navigation menus, footers, widgets or other areas may need additional code or a plugin if the active theme does not process them there.
