{"id":49067,"date":"2016-06-17T07:04:51","date_gmt":"2016-06-17T07:04:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-text-only-countdown\/"},"modified":"2018-11-09T02:21:21","modified_gmt":"2018-11-09T02:21:21","slug":"simple-text-only-countdown","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/simple-text-only-countdown\/","author":414422,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"trunk","tested":"4.9.29","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Simple Text Only Countdown","header_author":"deuts","header_description":"","assets_banners_color":"ffffff","last_updated":"2018-11-09 02:21:21","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/chesshive.com\/donate\/","header_plugin_uri":"https:\/\/deuts.net\/simple-text-only-countdown-wordpress-plugin\/","header_author_uri":"http:\/\/deuts.net\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2018,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Upgrade if you&#039;re afraid of bugs.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1438283","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1438282","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1438277","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11659,662,1378,56877],"plugin_category":[40],"plugin_contributors":[94968],"plugin_business_model":[],"class_list":["post-49067","plugin","type-plugin","status-publish","hentry","plugin_tags-countdown","plugin_tags-php","plugin_tags-simple","plugin_tags-text-only","plugin_category-calendar-and-events","plugin_contributors-deuts","plugin_committers-deuts"],"banners":{"banner":"https:\/\/ps.w.org\/simple-text-only-countdown\/assets\/banner-772x250.jpg?rev=1438277","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-text-only-countdown\/assets\/icon-128x128.jpg?rev=1438283","icon_2x":"https:\/\/ps.w.org\/simple-text-only-countdown\/assets\/icon-256x256.jpg?rev=1438282","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Perfect for in-line text-based countdown timer. Visitors need to refresh the browsers in order to update the countdown.<\/p>\n\n<h4>USAGE<\/h4>\n\n<p>When you're done installing the plugin, just put a <code>[cntdwn todate=\"9 January 2019 08:00\" timeoff=\"0\"]<\/code> shortcode into your content. Make sure to change the <code>todate<\/code> parameter to your target date, and <code>timeoff<\/code> to the GMT offset (in hours) of the time indicated in the <code>todate<\/code>.<\/p>\n\n<p>Anything that can be parsed by the <code>strtotime<\/code> php function can be used in the <code>todate<\/code> parameter. But in order to avoid confusion, it's better to stick with the format as the sample above.<\/p>\n\n<p>See the Frequently Asked Questions for the complete parameters available and their default values.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>simple-text-only-countdown<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in your WordPress installation.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to use this plugin?<\/dt>\n<dd><ul>\n<li>When you're done installing the plugin, just put a <code>[cntdwn todate=\"9 January 2019 08:00\" timeoff=\"0\"]<\/code> shortcode into your content. Make sure to change the <code>todate<\/code> parameter to your target date, and <code>timeoff<\/code> to the GMT offset (in hours) of the time indicated in the <code>todate<\/code>.<\/li>\n<\/ul><\/dd>\n<dt>What are the other parameters available?<\/dt>\n<dd><p>The complete parameters that you may use in the shortcode, and their default values, are:<\/p>\n\n<ul>\n<li><code>todate<\/code> -&gt; target date to where we're counting down to;<\/li>\n<li><code>timeoff<\/code> -&gt; GMT offset time. Default is 0 or UTC;<\/li>\n<li><code>sep<\/code> -&gt; the separator to use in between days, hours, etc. Default is <code>', '<\/code>. Feel free to change it to <code>&lt;br \/&gt;<\/code> or otherwise.<\/li>\n<li><code>showhours<\/code> -&gt; Show number of hours remaining? Default is <code>1<\/code> for true. The <code>todate<\/code> may be too far in the future that render hours irrelevant.<\/li>\n<li><code>showmins<\/code> -&gt; Show number of minutes remaining? Default is <code>1<\/code> for true. See <code>showhours<\/code> above.<\/li>\n<li><code>showsecs<\/code> -&gt; Show number of seconds remaining? Default is <code>0<\/code> for false. Seconds may only be relevant for countdowns with live timers.<\/li>\n<li><code>pretext<\/code> -&gt; The text before the countdown text. Default is <code>'The event starts in '<\/code>;<\/li>\n<li><code>posttext<\/code> -&gt; The text following the countdown text. Default is <code>'.'<\/code>;<\/li>\n<li><code>donemsg<\/code> -&gt; The text message when the countdown is done. Default is <code>'The countdown is done.'<\/code>.<\/li>\n<\/ul><\/dd>\n<dt>What's the standard format for the `todate` parameter?<\/dt>\n<dd><ul>\n<li>Anything that can be parsed by the <code>strtotime<\/code> php function can be used in the <code>todate<\/code> parameter. But in order to avoid confusion, it's better to stick with the format as the sample above.<\/li>\n<\/ul><\/dd>\n<dt>How to put the countdown in my theme files?<\/dt>\n<dd><ul>\n<li>The do_shortcode() can do that for you.<\/li>\n<\/ul><\/dd>\n<dt>Is there a widget available for the sidebar?<\/dt>\n<dd><ul>\n<li>No. But <a href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-use-shortcodes-in-your-wordpress-sidebar-widgets\/\">this article<\/a> can show you how to use a shortcode in the sidebar widget.<\/li>\n<\/ul><\/dd>\n<dt>Is there a working demo for this plugin?<\/dt>\n<dd><ul>\n<li>If the target date hasn't come yet, you might see a working demo of the plugin at <a href=\"http:\/\/chesshive.com\/working-demo-of-simple-text-only-countdown-plugin\/\">ChessHive<\/a>.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Bug fix to get rid of \"A non well formed numeric value encountered\" error.<\/li>\n<li>Updated descriptions.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Changed function name to make it more unique and avoid conflicting with other functions.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Original version.<\/li>\n<\/ul>","raw_excerpt":"A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49067"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/deuts"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49067"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49067"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49067"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49067"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49067"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}