Categories

  • Access & Security 95
  • Administration 171
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Timed Content

    Add to List

    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. 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.

    Examples

    [timed-content-client show="1:00"]Show me after one minute.  Since we don't want a fade-in, we can leave it out of the "show" attribute completely.[/timed-content-client]
    
    [timed-content-client show="1:00:1000"]Show me after one minute with a 1000 millisecond (1 second) fade-in.[/timed-content-client]
    
    [timed-content-client hide="1:00:1000"]Hide me after one minute with a 1000 millisecond (1 second) fade-out.[/timed-content-client]
    
    [timed-content-client show="1:00:500" hide="5:00:2000"]Show me after one minute with a 500 millisecond (a half-second) fade-in, then hide me after five minutes with a 2000 millisecond (2 seconds) fade-out.[/timed-content-client]
    
    [timed-content-server show="2013-09-13 20:30:00 -0600"]Show me starting at 8:30 PM Central Standard Time on September 13th, 2013. I will not be displayed before then.[/timed-content-server]
    
    [timed-content-server hide="2013-09-13 20:30:00 America/Chicago"]Hide me starting at 8:30 PM Central Daylight Time (i.e., the same timezone as Chicago) on September 13th, 2013.  I will not be displayed after then[/timed-content-server]
    
    [timed-content-server show="2013-09-13 20:30:00 -0600" hide="2013-09-13 21:30:00 -0600"]Show me starting at 8:30 PM Central Standard Time on September 13th, 2013, then hide me an hour later. I will not be displayed before or after then.[/timed-content-server]
    
    [timed-content-rule id="164"]Display me based on the settings for the Timed Content Rule whoseID is 164.[/timed-content-rule]<h3>Usage</h3>
    

    NOTE: All shortcodes can be built using the TinyMCE dialog. When in doubt, use the dialog to create correctly formed shortcodes.

    The timed-content-client shortcode

    [timed-content-client show="mm:ss:fff" hide="mm:ss:fff"]Example Text[/timed-content-client]
    
    • show – Specifies the time interval after loading the web page when the marked content should be displayed. The attribute consists of three parts,
      separated by colons: mm – minutes, ss – seconds, and fff – if greater than 0, a fade-in effect lasting fff milliseconds is applied.
    • hide – Specifies the time interval after loading the web page when the marked content should be hidden. The attribute consists of three parts,
      separated by colons: mm – minutes, ss – seconds, and fff – if greater than 0, a fade-out effect lasting fff milliseconds is applied.

    Both attributes are optional, but at least one attribute must be included. Leading zeros (0) are optional. The shortcode’s behaviour depends on which attributes are used:

    • show only – Marked content is initially not visible, then appears mm minutes and ss seconds after loading with a fff millisecond fade-in.
    • hide only – Marked content is initially visible, then disappears mm minutes and ss seconds after loading with a fff millisecond fade-out.
    • show and hide – Marked content is initially not visible, then appears according to the values set in show, then disappears according to the values set in hide.

    Your users must have JavaScript enabled for this shortcode to work.

    The timed-content-server shortcode

    [timed-content-server show="datetime" hide="datetime" debug="true|false|when_hidden"]Example Text[/timed-content-server]
    
    • show – Specifies the date/time when the marked content should start being included on the web page.
    • hide – Specifies the date/time after which the marked content should stop being included on the web page.
    • debug – If true, adds some debugging statements to the web page as HTML comments. If when_hidden, the debugging statements are added only when the content is hidden. Defaults to false.

    The date and time are expected to be yyyy-mm-dd HH:MM (similar to ISO 8601), for example 2019-04-07 15:30 for April 7, 2019, 15:30. For backward compatiblity old “human readable” date formats should also work, but these should not be used any longer!

    Both show and hide attributes are optional, but at least one attribute must be included. The shortcode’s behaviour depends on which attributes are used:

    • show only – Marked content is outputted only after the date/time set here.
    • hide only – Marked content is outputted only before the date/time set here.
    • show and hide – Marked content is outputted only during the time period defined by the show and hide attributes.

    The timed-content-rule shortcode

    [timed-content-rule id="{rule_id}|{rule_name}"]Example Text[/timed-content-rule]
    

    You can find the correct shortcode from the Timed Content Rules overview page, or use the TinyMCE dialog.

    Testing server side rules

    For testing the behaviour of server side rules at specific times, you may use the GET parameter tctest in an URL, followed by date and time in the format YYYY-MM-DD+hh:mm:ss. This works only you are logged in with a user which has the right to edit the displayed page or post. For example: http://mysite.example?tctest=2018-02-10+19:16:00 will show the content as if it was February 2, 2018 at 19:16.

    Developer Documentation

    Action hooks

    add_action( "timed_content_server_show", "{function_name}", {priority_level}, 4 );
    

    Fired when the [timed-content-server] shortcode is encountered AND the content is to be displayed based on the shortcode’s show/hide attributes. Functions using this hook should accept the following arguments in order:

    • $post_id – the ID of the currently displayed Post/Page
    • $show – the value of the show attribute. If not set, defaults to “1970-Jan-01 00:00:00 +000”
    • $hide – the value of the hide attribute. If not set, defaults to “2038-Jan-19 03:14:07 +000”
    • $content – The content enclosed by the shortcode

      add_action( “timed_content_server_hide”, “{function_name}”, {priority_level}, 4 );

    Fired when the [timed-content-server] shortcode is encountered AND the content is to be hidden based on the shortcode’s show/hide attributes. Functions using this hook should accept the following arguments in order:

    • $post_id – the ID of the currently displayed Post/Page
    • $show – the value of the show attribute. If not set, defaults to “1970-Jan-01 00:00:00 +000”
    • $hide – the value of the hide attribute. If not set, defaults to “2038-Jan-19 03:14:07 +000”
    • $content – The content enclosed by the shortcode

      add_action( “timed_content_rule_show”, “{function_name}”, {priority_level}, 3 );

    Fired when the [timed-content-rule] shortcode is encountered AND the content is to be displayed based on the Timed Content Rule’s properties. Functions using this hook should accept the following arguments in order:

    • $post_id – the ID of the currently displayed Post/Page
    • $rule_id – the ID of the Timed Content Rule being called. Use get_post_meta( $rule_id ) to get the Rule’s properties.
    • $content – The content enclosed by the shortcode

      add_action( “timed_content_rule_hide”, “{function_name}”, {priority_level}, 3 );

    Fired when the [timed-content-rule] shortcode is encountered AND the content is to be hidden based on the Timed Content Rule’s properties. Functions using this hook should accept the following arguments in order:

    • $post_id – the ID of the currently displayed Post/Page
    • $rule_id – the ID of the Timed Content Rule being called. Use get_post_meta( $rule_id ) to get the Rule’s properties.
    • $content – The content enclosed by the shortcode

    Filter hooks

    timed_content_filter
    

    Filter for any content enclosed by a Timed Content shortcode. Implements the same filters as the_content:

    • wptexturize
    • convert_smilies
    • convert_chars
    • wpautop
    • prepend_attachment
    • do_shortcode

      timed_content_filter_override

    Replaces the timed_content_filter with another pre-existing filter to use for any content enclosed by a Timed Content shortcode. Any function hooked into this filter must return the name of a filter (as a string).

    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings4.5
    Votes30
    Downloads69,602
    Last Updated130 Days ago
    Published9 years ago

    Report Wrong Category!

    Do you think this Plugin belongs to another Category?

    What Category Should this Plugin belong to? *

    Reason *

    Create a Plugin List

    You need to be Logged in to Create a Plugin List.

    Submit A plugin

    You need to be logged in to submit a plugin.

    Help

    WPD is the unofficial online plugin directory of WordPress.

    An attempt has been made to list Only functional, active,efficient and up-to-date plugins.

    Categorized : Plugin are listed by category and subcategory based on functionality and uses. Here you can browse wordpress plugin from our neatly categorized plugin directory and sort the plugins by rating, votes, last updated and published and search plugins using tags.

    Search : Plugins can be searched by their functionality using multi-tag search and you can search plugins using their exact name although we are not ensuring Google like search accuracy.

    Create Plugin Lists : You will be able to create list of plugins and share them with Wordpress Community or you can keep them private and use them as a bookmarks.
    e.g. Plugins That I’ve Used on My Site, Best Event Management Plugins, Christmas Plugins etc.

    If you think certain awesome plugin is not in the directory then notify us through our Submit a Plugin page.

    Browsing the Plugin Directory

    Browse by Category

    In WPD, Plugins are categorized carefully. You can browse all the categories from the homepage or you can access the category lists from any page by clicking the button from the left of the website.


    Browse by Tags

    Each plugin listed in WPD is marked with useful tags. You can browse plugins by Tags from the All Tags page


    Searching in WPD

    Multi Tag Search

    You can search plugins using multiple tags. To perform a multi-tag search. Go to Homepage and then in the search field type any keywords or tags(comma separated) and then click on the search button. To search plugins from a selected category just select the category from the dropdown and type your tags.


    Searching a specific Plugin in WPD

    If you want to find a specific plugin in our directory, Go to Homepage and then select the "Search in Title" option. Then write the name of the plugin and click the search button to find the Plugin.


    Plugin Lists

    Whats a Plugin List

    Plugin Lists are user created lists of plugins. Any registered users can create Plugin Lists and share it with anyone or make it private.


    Why Create a plugin List?
    • Easy to keep track of your favourite and useful plugin.

    • Share list of plugins on blogs, social media or to a client.

    • Keep a track of what plugins you installed in which of your blogs by creating a list for each blog



    Creating a Plugin List

    To create a Plugin List, click the button from the left of the page; a popup box will appear. In the "List Name" field, put the name of the List. eg: Best Seo plugins for your site.
    In the Description field, put a few words describing the List.
    By default, lists are automatically published as public, which is visible to everyone. If you do not want others to see the List, select "Private" from the dropdown list. Then click the "Create List" button to create the list.


    Adding Plugins to your List

    To add a plugin to your List, go to a plugin page and click the "Add to List" button. A popup box will appear where you can select in which of your list you want to add this plugin. You can add a note if you want, this note will appear below the plugin in your list.
    P.S: You can only add plugins that are in our directory.

    Your Lists will appear in our "Plugin Lists" page when you set the list as "Public" and your list contains atleast 2 plugins.


    Editing your Lists

    When you are on your list page, notice there is a button on the top right corner of the page. Click it to edit the List Name and the List Description.


    Accessing All your Lists

    You can access all your Plugin lists by going to your profile and clicking the "Lists" tab.


    Removing your Lists

    You can remove your Plugin lists by going to your profile and clicking the "Lists" tab. on top right of each list click the button to remove the list completely.

    While tremendous effort has been put to keep this directory precise and complete, still errors and omissions are unavoidable and possible. We welcome any suggestions for corrections, deletions, and idea that might improve the overall experience.

    To submit a Feedback click the from the bottom right corner of the site.

    Register or log in to assess the record