Description
Embed scheduled content into your pages, posts and even custom post types supporting shortcodes.
Use [szbl_scheduled_content]
to wrap and schedule your content. To hide content until a specific date, use the start
attribute. To have content expire, use the end
attribute:
[szbl_scheduled_content start="Jan 1, 2013 12am" end="Apr 14, 2013 12:00pm"]This is my scheduled content[/szbl_scheduled_content]
You can enter dates/time in any standard format and the plugin should interpret them correctly, using the timezone set under Settings > General.
Installation
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the Plugins menu in WordPress
- Use [szbl_scheduled_content start=January 1, 2013? end=January 15, 2013?]
FAQ
-
The plugin uses PHPs strtotime() function, so any valid date/time format should work.
-
Omit the start attribute and your content will simply expire.
-
Omit the end attribute and your content will never expire, it will just be hidden until the start attributes date.
-
We make every effort to use the timezone settings within your WordPress installation (comparisons are made using date_i18n which inherits the WP timezone settings).
-
You can set the following two attributes to toggle nested shortcode processing and applying filters for
the_content
:content_filters
(defaults totrue
, can be set totrue
orfalse
)shortcodes
(defaults totrue
, can be set totrue
orfalse
)
Content filtering must be turned off for the
shortcodes
attribute to take effect. Youd only want to use these if you want to remove content filtering (likewpautop
andwptexturize
) but still process shortcodes:[szbl_scheduled_content start="Jan 1, 2013 12am" end="Apr 14, 2013 12:00pm" content_filtering="false" shortcodes="true"]This is my scheduled content. [another_shortcode] [/szbl_scheduled_content]