wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

Countdown timer shortcode, display content after specified date

wordpress snippet

Adding the first snippet to the functions.php of your wordpress theme will let you use a shortcode to place a countdown timer on specific content within your post. Add the shortcode within the second snippet to your post with content you want to display after the specified date. I added a class of event so you can style the display of the message anyway you wish, enjoy!

read more
jqsnipp.com | we just launched jquery snippets website