{"id":16807,"date":"2012-02-21T01:53:29","date_gmt":"2012-02-21T01:53:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/days-until\/"},"modified":"2012-07-25T04:05:52","modified_gmt":"2012-07-25T04:05:52","slug":"days-until","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/days-until\/","author":8959999,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"3.3.2","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Days Until","header_author":"Eric Medin","header_description":"","assets_banners_color":"","last_updated":"2012-07-25 04:05:52","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ericmedin.com\/musings\/days-until-plugin\/","header_plugin_uri":"http:\/\/ericmedin.com\/musings\/days-until-plugin\/","header_author_uri":"http:\/\/ericmedin.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2697,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>No need to upgrade, this is ground zero<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2474],"plugin_category":[],"plugin_contributors":[91836],"plugin_business_model":[],"class_list":["post-16807","plugin","type-plugin","status-publish","hentry","plugin_tags-utility","plugin_contributors-enuratique","plugin_committers-enuratique"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/days-until.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Originally I used the \"Countdown Timer\" plugin written by Andrew Ferguson to accomplish what I wanted,\nhowever, his implementation to output in just days also outputted extraneous text that I was\nnot interested in. On top of that, the actual count algorithm was flawed. Rather than hack\nthis plugin to pieces to get the output I needed, I decided to just roll my own.<\/p>\n\n<p>This is a bare bones, no-frills plugin since this is my first attempt at it. This means no\nfancy options or configuration screens.<\/p>\n\n<p>To use the plugin, simply install it and then use the following shortcode to output the number\nof days until a given date in its place:<\/p>\n\n<p>[days_until date=\"SPECIFIC DATE\"]<\/p>\n\n<p>Where \"SPECIFIC DATE\" can be any text that that PHP's strtotime function can understand.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload <code>daysuntil.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>[days_until date=\"SPECIFIC DATE\"]<\/code> in your content<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None yet.<\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Just now realized that the instructions in the readme were wrong (missing the date attribute), functionally nothing else changed.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The genesis<\/li>\n<\/ul>","raw_excerpt":"Outputs the number of days until a specified date from shortcode embedded in content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16807"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enuratique"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16807"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16807"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16807"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16807"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16807"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}