Provides the shortcode dms3nad allowing to show contents only during an specific time frame specified in the shortcode paramenters.
|Author:||MarcQueralt (profile at wordpress.org)|
|WordPress version required:||3.5|
|WordPress version tested:||3.9.1|
|Added to WordPress repository:||24-03-2013|
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:||3 221|
Click to start download
We build that shortcode that helps on doing this task.
You only have to use [dms3nad start="hh:mm" end="hh:mm"]Content to show[/dms3nad].
For instance to show the sentence "night" from midnight until 7:00 and "day" the rest of the day, the code should look like:
[dms3nad start="00:00" end="07:00"]Night[/dms3nad] [dms3nad start="07:00" end="23:59"]Day[/dms3nad]
Note: times are based on server time
- 3.9.1 compatibility
- Initial version