{"id":27670,"date":"2014-02-05T20:43:03","date_gmt":"2014-02-05T20:43:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cssable-countdown\/"},"modified":"2014-04-19T18:53:25","modified_gmt":"2014-04-19T18:53:25","slug":"cssable-countdown","status":"closed","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/cssable-countdown\/","author":11989014,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5","stable_tag":"1.5","tested":"3.9.40","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"CSSable Countdown","header_author":"dmonnier","header_description":"","assets_banners_color":"6e7972","last_updated":"2014-04-19 18:53:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=SGK5F3QQASDXS","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/cssable-countdown\/","header_author_uri":"http:\/\/wp.dmonnier.com\/","rating":4.9,"author_block_rating":0,"active_installs":100,"downloads":15279,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.5":"<p>Earlier versions of the plugin will ignore language settings.  Please upgrade if you need a language other than English.<\/p>","1.4":"<p>Earlier versions of the shortcode will ignore the <code>time<\/code> parameter.  Please upgrade if you use the shortcode.<\/p>","1.3":"<p>Earlier versions will fail HTML5 validation due to malformed CSS link tag.<\/p>","1.2":"<p>1.1 doesn&#039;t work due to me sucking at SVN.  Please upgrade to make the plugin work.<\/p>","1.0":"<p>This version is the official release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"7"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"852228","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"852228","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"852228","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"852228","resolution":"3","location":"assets"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"852228","resolution":"4","location":"assets"},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"852228","resolution":"5","location":"assets"},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":"852228","resolution":"6","location":"assets"},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":"852228","resolution":"7","location":"assets"}},"screenshots":{"1":"The complete plug-in with all sections collapsed.","2":"The <code>Period Display<\/code> section where you can indicate which time periods you want shown.","3":"The <code>Layout<\/code> section where you can apply four pre-defined styles if you're in a hurry.","4":"The <code>Add Text<\/code> section where you can enter optional text to be shown with the countdown.","5":"The <code>Expiration Options<\/code> section where you can add an expiry text <em>or<\/em> a redirect URL.","6":"The <code>Change Timezone<\/code> section where you can change the target timezone for the countdown.","7":"The <code>Advanced Formatting<\/code> section where you can enter a format manually and determine the significant options.  Details on use are provided in the readme."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11659,356,4076],"plugin_category":[40],"plugin_contributors":[82364],"plugin_business_model":[],"class_list":["post-27670","plugin","type-plugin","status-closed","hentry","plugin_tags-countdown","plugin_tags-css","plugin_tags-timer","plugin_category-calendar-and-events","plugin_contributors-dmonnier","plugin_committers-dmonnier"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cssable-countdown_6e7972.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-1.jpg?rev=852228","caption":"The complete plug-in with all sections collapsed."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-2.jpg?rev=852228","caption":"The <code>Period Display<\/code> section where you can indicate which time periods you want shown."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-3.jpg?rev=852228","caption":"The <code>Layout<\/code> section where you can apply four pre-defined styles if you're in a hurry."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-4.jpg?rev=852228","caption":"The <code>Add Text<\/code> section where you can enter optional text to be shown with the countdown."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-5.jpg?rev=852228","caption":"The <code>Expiration Options<\/code> section where you can add an expiry text <em>or<\/em> a redirect URL."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-6.jpg?rev=852228","caption":"The <code>Change Timezone<\/code> section where you can change the target timezone for the countdown."},{"src":"https:\/\/ps.w.org\/cssable-countdown\/assets\/screenshot-7.jpg?rev=852228","caption":"The <code>Advanced Formatting<\/code> section where you can enter a format manually and determine the significant options.  Details on use are provided in the readme."}],"raw_content":"<!--section=description-->\n<p>A fully CSS-able jQuery countdown\/countup timer available in both widget and shortcode.  Based on <a href=\"http:\/\/keith-wood.name\/countdown.html\" title=\"jQuery Countdown by Keith Wood\">jQuery Countdown<\/a> by Keith Wood.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Supports multiple countdowns<\/li>\n<li>Available as both a widget and a shortcode<\/li>\n<li>Localization based on your WordPress's installation language<\/li>\n<li>Timer can be set to count down or count up<\/li>\n<li>You choose how much information to display from years to seconds<\/li>\n<li>Option to set expiration message<\/li>\n<li>Option to redirect to a new URL upon expiry<\/li>\n<\/ul>\n\n<p>Most importantly, <strong>YOU have full control over the CSS<\/strong>!  Every single element can be targeted and manipulated any way you want.  Also works right out of the box with four pre-defined display styles if you don't care to fiddle with the CSS yourself.<\/p>\n\n<h3>Future Development<\/h3>\n\n<ul>\n<li>Pre-built color schemes<\/li>\n<li>Upgrade to version 2.0.0<\/li>\n<li>Admin panel localization<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Minimum Requirements<\/h4>\n\n<p>Verify that you have the following minimum requirements:<\/p>\n\n<ol>\n<li>WordPress 2.5+<\/li>\n<li>PHP 5.1.3+<\/li>\n<li>jQuery 2.0.0+<\/li>\n<\/ol>\n\n<h4>Installing CSSable Countdown<\/h4>\n\n<ol>\n<li>Upload <code>CSSable-countdown-widget<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I use the widget?<\/dt>\n<dd><p>Go to <code>Appearances<\/code> &gt; <code>Widgets<\/code> and drag the CSSable Countdown widget where you want it.  Expand the widget to fill out the particulars.<\/p><\/dd>\n<dt>How do I use the shortcode?<\/dt>\n<dd><p>The shortcode is much more involved than the point-and-click interface of the widget.<\/p>\n\n<p>The shortcode's minimum syntax is:<\/p>\n\n<pre><code>[countdown date=\"MM\/DD\/YYYY\"]\n<\/code><\/pre>\n\n<p>You can specify additional options:<\/p>\n\n<ul>\n<li><code>time<\/code> - in <code>HH:MM:SS<\/code> format (make sure you use 24-hour time).  Defaults to <code>00:00:00<\/code>.<\/li>\n<li><code>timezone<\/code> - in <code>\u00b1HH:MM<\/code> GMT format (e.g. EST is <code>-5<\/code>, India is <code>+5:30<\/code>, etc).  Defaults to your WordPress's GMT offset as defined in <code>Settings<\/code> &gt; <code>General<\/code> &gt; <code>Timezone<\/code>.<\/li>\n<li><code>format<\/code> - valid options are any of <em>case-sensitive<\/em> <code>YOWDHMS<\/code>.  Defaults to <code>ydHMS<\/code>.  See [*] below for more information.\n\n<ul>\n<li><code>Y<\/code> - years<\/li>\n<li><code>O<\/code> - months<\/li>\n<li><code>W<\/code> - weeks<\/li>\n<li><code>D<\/code> - days<\/li>\n<li><code>H<\/code> - hours<\/li>\n<li><code>M<\/code> - minutes<\/li>\n<li><code>S<\/code> - seconds<\/li>\n<\/ul><\/li>\n<li><code>significant<\/code> - valid options are 1 through 7.  See [+] below for more information.<\/li>\n<li><code>direction<\/code> - valid options are <code>down<\/code> and <code>up<\/code>.  Toggles countdown vs. countup timer.  Defaults to <code>down<\/code>.<\/li>\n<li><code>event<\/code> - the event description.<\/li>\n<li><code>display<\/code> - valid options are <code>default<\/code>, <code>list<\/code>, <code>text<\/code>, <code>compact<\/code>.  Defaults to <code>default<\/code>.  Controls the presentation and basic styling options.<\/li>\n<li><code>expirytext<\/code> - plaintext string to display on time expired.<\/li>\n<\/ul>\n\n<p>[*] <code>format<\/code> is the powerhouse that controls the digits displaying on the timer.  It is case-sensitive:<\/p>\n\n<ul>\n<li>Uppercase values will always display<\/li>\n<li>Lowercase values will display only if non-zero<\/li>\n<li>Unspecified values will never display<\/li>\n<\/ul>\n\n<p>For example, the default value of <code>ydHMS<\/code> will show you years and days if they're non-zero, but hours, minutes, and seconds will always be shown.  If you didn't care about the time, you could show years, months, and days with just <code>YMD<\/code>.<\/p>\n\n<p>[+] <code>significant<\/code> controls how many significant digits are displayed.<\/p>\n\n<p>Combining <code>format<\/code> with <code>significant<\/code> produces almost any combination of date and time values that you want displayed.<\/p>\n\n<p><strong>Note<\/strong>: you cannot set an expiration URL with the shortcode, since shortcodes are, by definition, parsed after headers are sent.<\/p><\/dd>\n<dt>I don't want your bare-bones CSS!  How can I disable it completely?<\/dt>\n<dd><p>In your <code>functions.php<\/code> file, add these lines:<\/p>\n\n<pre><code>wp_dequeue_style( 'cssable-countdown-style-default' );\nwp_dequeue_style( 'cssable-countdown-style-list' );\nwp_dequeue_style( 'cssable-countdown-style-text' );\n<\/code><\/pre><\/dd>\n<dt>How do I add my own CSS?<\/dt>\n<dd><p>In your <code>functions.php<\/code> file, add these lines for every CSS file you're including:<\/p>\n\n<pre><code>wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', 'PATH\/TO\/CUSTOM\/CSS\/FILE.css' , '', '1.1' );\n<\/code><\/pre>\n\n<ul>\n<li>Replace <code>YOURNAMEHERE<\/code> with a unique name so it won't conflict with any other stylesheets.<\/li>\n<li><p>Replace <code>PATH\/TO\/CUSTOM\/CSS\/FILE.css<\/code> with the path to your CSS file.  It is suggested that you put the CSS file in your themes directory and use WordPress's <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/get_stylesheet_directory\" title=\"Function Reference\/get_stylesheet_directory()\"><code>get_stylesheet_directory()<\/code><\/a> for your theme instead of giving it an absolute URL.  Ex:<\/p>\n\n<p>wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', get_stylesheet_directory() . '\/css\/YOURCUSTOMFILE.css' , '', '1.1' );<\/p><\/li>\n<\/ul><\/dd>\n<dt>What languages are supported?<\/dt>\n<dd><p>Although the admin panel is currently only localized in English, the countdown will automatically take the language you have your WordPress set to.<\/p>\n\n<ul>\n<li>Albanian (Gjuha shqipe)<\/li>\n<li>Arabic (\u0627\u0644\u0639\u0631\u0628\u064a\u0629)<\/li>\n<li>Armenian (\u0540\u0561\u0575\u0565\u0580\u0565\u0576)<\/li>\n<li>Bengali\/Bangla (\u09ac\u09be\u0982\u09b2\u09be)<\/li>\n<li>Bosnian (Bosanski)<\/li>\n<li>Bulgarian (\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438 \u0435\u0437\u0438\u043a)<\/li>\n<li>Burmese (\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c)<\/li>\n<li>Catalan (Catal\u00e0)<\/li>\n<li>Chinese\/Simplified (\u7b80\u4f53\u4e2d\u6587<\/li>\n<li>Chinese\/Traditional (\u7e41\u9ad4\u4e2d\u6587)<\/li>\n<li>Croatian (Hrvatski jezik)<\/li>\n<li>Czech (\u010ce\u0161tina)<\/li>\n<li>Danish (Dansk)<\/li>\n<li>Dutch (Nederlands)<\/li>\n<li>Estonian (eesti keel)<\/li>\n<li>Farsi\/Persian (\u0641\u0627\u0631\u0633\u06cc)<\/li>\n<li>Finnish (suomi)<\/li>\n<li>French (Fran\u00e7ais)<\/li>\n<li>Galician (Galego)<\/li>\n<li>German (Deutsch)<\/li>\n<li>Greek (\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac)<\/li>\n<li>Gujarati (\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0)<\/li>\n<li>Hebrew (\u05e2\u05d1\u05e8\u05d9\u05ea<\/li>\n<li>Hungarian (Magyar)<\/li>\n<li>Indonesian (Bahasa Indonesia)<\/li>\n<li>Icelandic (\u00cdslenska)<\/li>\n<li>Italian (Italiano)<\/li>\n<li>Japanese (\u65e5\u672c\u8a9e)<\/li>\n<li>Kannada ( \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 )<\/li>\n<li>Korean (\ud55c\uad6d\uc5b4)<\/li>\n<li>Latvian (Latvie\u0161u Valoda)<\/li>\n<li>Lithuanian (lietuvi\u0173 kalba)<\/li>\n<li>Malayalam (\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02)<\/li>\n<li>Malaysian (Bahasa Melayu)<\/li>\n<li>Norwegian (Bokm\u00e5l)<\/li>\n<li>Polish (Polski)<\/li>\n<li>Portuguese\/Brazilian (Portugu\u00eas)<\/li>\n<li>Romanian (Rom\u00e2n\u0103)<\/li>\n<li>Russian (\u0420\u0443\u0441\u0441\u043a\u0438\u0439)<\/li>\n<li>Serbian (\u0441\u0440\u043f\u0441\u043a\u0438 \u0458\u0435\u0437\u0438\u043a)<\/li>\n<li>Serbian (srpski jezik)<\/li>\n<li>Slovak (Sloven\u010dina)<\/li>\n<li>Slovenian (Sloven\u0161\u010dina)<\/li>\n<li>Spanish (Espa\u00f1ol)<\/li>\n<li>Swedish (Svenska)<\/li>\n<li>Thai (\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22)<\/li>\n<li>Turkish (T\u00fcrk\u00e7e)<\/li>\n<li>Ukrainian (\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u043c\u043e\u0432\u0430)<\/li>\n<li>Uzbek (O\u2018zbek tili)<\/li>\n<li>Vietnamese (Ti\u1ebfng Vi\u1ec7t)<\/li>\n<li>Welsh (Cymraeg)<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<ul>\n<li>[SUPPORT BUGFIX] Fixed languages not applying correctly<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>[SUPPORT BUGFIX] Fixed shortcode ignoring to the <code>time<\/code> parameter<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed <code>media<\/code> property of the various <code>wp_enqueue_style()<\/code>s to default to <code>'all'<\/code> instead of <code>false<\/code><\/li>\n<li>Upgraded \"tested up to\" tag to 3.8.1<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated SVN to point to the actual location of the js files<\/li>\n<li>[SUPPORT BUGFIX] Fixed non-responsive dropdowns in widget options due to misplaced JS file<\/li>\n<li>[SUPPORT BUGFIX] Fixed shortcode not working due to misplaced JS file<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Moved <code>kw-jquery.countdown-1.6.3.php<\/code> to <code>\/js\/<\/code><\/li>\n<li>[SUPPORT BUGFIX] Removed anonymous function in <code>register_widgets()<\/code> because they require PHP 5.3+<\/li>\n<li>[SUPPORT BUGFIX] Fixed non-responsive dropdowns in widget options<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Renamed plugin to <code>CSSable Countdown<\/code><\/li>\n<li>WordPress plugin directory release<\/li>\n<li>Added screenshots and title banner<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added slash handling to <code>expiryText<\/code> and <code>event<\/code><\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Split the shortcode off to its own file<\/li>\n<li>Fixed <code>expiryText<\/code> not showing if countdown was already expired on page load<\/li>\n<li>Fixed all instances of <code>expiryURL<\/code> to <code>expiryUrl<\/code><\/li>\n<li>Removed <code>expiryUrl<\/code> option from shortcode since can't redirect after headers have been sent<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Improved widget UI by creating sections<\/li>\n<li>Added basic formatting option<\/li>\n<li>Added layout type option<\/li>\n<li>Created timezone and converter functions<\/li>\n<li>Changed option <code>compact<\/code> to only print if <code>true<\/code><\/li>\n<li>Cleaned up files into folders<\/li>\n<li>Requires PHP 5.1.3+<\/li>\n<li>Removed <code>showExpiryTextIfExpired<\/code> option<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added localization capabilites<\/li>\n<li>Added <code>compact<\/code> option<\/li>\n<li>Fixed shortcode displaying blank date on default configuration<\/li>\n<li>Fixed shortcode lack of targeting ID when calling as widget <a href=\"http:\/\/wordpress.stackexchange.com\/questions\/10917\/the-widget-and-widgets-id\" title=\"(Thread 'the_widget() and widget's ID' at StackExchange)\">(source)<\/a><\/li>\n<li>Fixed widget checkboxes not toggling correctly<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added <code>expiryText<\/code> option<\/li>\n<li>Added <code>significant<\/code> option<\/li>\n<li>Created <code>showExpiryTextIfExpired<\/code> option<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Created plug-in<\/li>\n<li>Created shortcode capability<\/li>\n<li>Created widget capability<\/li>\n<li>Stripped down and reconfigured CSS for maximum styling ability<\/li>\n<\/ul>","raw_excerpt":"A fully CSS-able jQuery countdown\/countup timer available in both widget and shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27670"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dmonnier"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27670"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27670"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27670"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27670"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27670"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}