DeMomentSomTres Night and Day

Version: 1.0.1
last update: 20 May, 2014

banner-772x250
Download link: https://downloads.wordpress.org/plugin/demomentsomtres-night-and-day.zip
Plugin page at WordPress.org: http://wordpress.org/plugins/demomentsomtres-night-and-day/
Contributors: marcqueralt

Description

A customer of DeMomentSomTres required us to show a picture of its building depending of the moment of the day in its web.

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


Tags: shortcode

FAQ

TBD

Support

You can get support via WordPress forums or via comments in this page.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>