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
Installation
- Use usual plugin installation methods.
FAQ
TBD
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DeMomentSomTres Night and Day” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DeMomentSomTres Night and Day” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- 3.9.1 compatibility
1.0
- Initial version