Plugin to show or hide portions of a Page or Post at a specified time after loading.
|Author:||K. Tough (profile at wordpress.org)|
|WordPress version required:||2.0.2|
|WordPress version tested:||4.2.2|
|Added to WordPress repository:||01-03-2011|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||26 269|
|Active installs:||4 000+|
Click to start download
The Timed Content plugin allows users to specify that a portion of a Page or Post should appear/be visible or disappear/be invisible based on given time characteristics. Suppose, for example, you embed a video into a Post; once the viewer has enough information from the video, the request to take a specific action can be set to appear. You can also make portions of a Post or Page be visible at certain dates and times; you can even set up a schedule!
The plugin adds the following:
- A "client-side" shortcode that allows the marking of content to appear or disappear after a given time interval; a "fade" effect is included. This functionality is intended to be used for special effects only, as content marked in this manner is still visible in the HTML source and, therefore, not a secure method of hiding content.
- Two "server-side" shortcodes that allow the marking of content to be visible only during specified date/time intervals. This functionality can be used as a secure method of hiding content, because the marked content will be included in the Page/Post only when viewed in the specified date/time intervals.
A TinyMCE dialog is included to help users build the shortcodes. See the Screenshots tab for more info.
An example showing use of the
[timed-content-client]shortcode. The "alarm clock" button on the editor menubar brings up a dialog box to help build the Timed Content shortcodes. All of the Admin-side screenshots are from WordPress 3.7, but the functionality is the same for 3.8.
An example showing use of the
true. You'll only see it if you're logged in and it's on a Page/Post you can edit (Your regular visitors won't see this at all).
The "Add Timed Content shortcode" dialog showing the Client tab. Check the attribute you want to add and fill in the textboxes.
The "Add Timed Content shortcode" dialog showing the Server tab. Check the attribute you want to add, then click on the Date and Time textboxes.
The date and time pickers help you format a correct date and time. Here's the jQuery UI Datepicker in action.
The "Add Timed Content shortcode" dialog showing the Timed Content Rules tab.
You can use both shortcodes together and with other shortcodes supported by your WordPress installation.
The Timed Content Rules overview page. Timed Content Rules allow you to set up a schedule for showing/hiding your content.
Editing a Timed Content Rule. Here, you can see the jQuery UI Timepicker in action.
Check the Scheduled Dates/Times to verify when your rule will be active.
No “frequent” questions as of yet, but come ask away in the Support forum.
- New action hooks.
[timed-content-rule]shortcode now accepts a Timed Content Rule name as well as an ID.
- Streamlined i18n for date/time pickers (Use values available in WordPress settings and
$wp_localewhen available, combined *-i18n.js files into one).
- Some developer docs in the
current_time()bug in __rulesShowHTML() introduced in 2.5.
- Removed dependency on jQuery UI Dialog; now uses Thickbox.
- Added and modified
fix_date_i18n()from https://core.trac.wordpress.org/ticket/25768 to better handle DST and timezones with i18n.
- Added custom filter
timed_content_filter_overrideso admins can modify/replace
- Using built-in spinner image now instead of
timed-content-admin-tinymce.js(No need anymore; required JS variables now hooked directly into editor). Fixes incompatibility with OptimizePress.
- Fixed minor bugs related to Exception Dates.
- Optimized rule periods arrays (array only needs ‘status’ and ‘time’ when it’s meant to be human-readable).
- Added custom filter
apply_filter( 'the_content', ... )functionality for content.
- Fixed bug when setting up weekly recurrence for Timed Content Rules.
- NEW! Exception Dates (dates on which your Timed Content Rule shouldn’t run).
- Much improved i18n
- New Spanish translation – Many thanks to Andrew Kurtis and Jelena Kovacevic from WebHostingHub (Nueva traducción de español – Muchas gracias a Andrew Kurtis y Jelena Kovacevic desde WebHostingHub).
- Unified dashicons among all of my plugins.
- Minor improvements in TinyMCE dialog UI and Date/Time UI controls.
- Fixed TinyMCE editor button for TinyMCE 4.x.
- Removed support for PHP4 in
- Fixed WordPress version check for deciding which image to use for TinyMCE button.
- Fixed “Strict Standards” warning in PHP 5.4 in
- Dashicons support for WP 3.8 + added. Support for old-style icons in Admin/TinyMCE is deprecated.
- Added versioning to all
- CSS for JQuery UI now loaded locally as required by WordPress plugin repository rules.
- Improved UX on TinyMCE dialog and Timed Content Rules detail page.
- Fixed inconsistency in how the days of week to repeat on were being set up between the front and back ends.
- Fixed variable scope bug that occurred on activation.
- Improved i18n.
- Added Timed Content Rules.
- Replaced AnyTime plugin with jQuery UI Timepicker (http://fgelinas.com/code/timepicker) and WordPress’s internal jQuery UI Datepicker.
- HTML code created by
[timed-content-client]can now either be enclosed in either
- Debugging statements for
[timed-content-server]now displayed on Post/Page (only if logged in and have the rights to edit that Post/Page – no more digging into the HTML source).
- Improved code documentation.
- Upgraded AnyTime jQuery plugin.
timed-content.jsis now always loaded (Size > 1KB, so not a lot of extra overhead); fixes bug when multiple/nested shortcodes are used.
- Fixed some internal filename discrepancies.
- Initial release.