{"id":34393,"date":"2015-02-05T23:14:24","date_gmt":"2015-02-05T23:14:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/back-to-the-future\/"},"modified":"2015-02-05T23:14:24","modified_gmt":"2015-02-05T23:14:24","slug":"back-to-the-future","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/back-to-the-future\/","author":8185969,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"4.1.42","requires":"1.5","requires_php":"","requires_plugins":"","header_name":"Back to the Future","header_author":"Valerio Souza","header_description":"","assets_banners_color":"cf571a","last_updated":"2015-02-05 23:14:24","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=P5QTGDB64SU8E&lc=US&item_name=WordPress%20Plugins&no_note=0&cn=Adicionar%20instru%c3%a7%c3%b5es%20especiais%20para%20o%20vendedor%3a&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"https:\/\/github.com\/valeriosouza\/back-to-the-future","header_author_uri":"http:\/\/www.valeriosouza.com.br","rating":5,"author_block_rating":0,"active_installs":20,"downloads":2111,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0 - 29\/01\/2015":"<ul>\n<li>Initial Release.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1083493","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1083493","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1083493","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1083493","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1083493","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1083493","resolution":"2","location":"assets"}},"screenshots":{"1":"<p>Post scheduled for October 21, 2015, the date movie Back to the future.<\/p>","2":"<p>Movie image from back to the future where it shows the date of the future.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10618,10619,10621,9618,10620],"plugin_category":[40],"plugin_contributors":[91980,78358],"plugin_business_model":[],"class_list":["post-34393","plugin","type-plugin","status-publish","hentry","plugin_tags-future-post","plugin_tags-future-post-type","plugin_tags-future-shows","plugin_tags-schedule-post","plugin_tags-schedule-post-type","plugin_category-calendar-and-events","plugin_contributors-aliascomunicacao","plugin_contributors-valeriosza","plugin_committers-valeriosza"],"banners":{"banner":"https:\/\/ps.w.org\/back-to-the-future\/assets\/banner-772x250.jpg?rev=1083493","banner_2x":"https:\/\/ps.w.org\/back-to-the-future\/assets\/banner-1544x500.jpg?rev=1083493","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/back-to-the-future\/assets\/icon-128x128.jpg?rev=1083493","icon_2x":"https:\/\/ps.w.org\/back-to-the-future\/assets\/icon-256x256.jpg?rev=1083493","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/back-to-the-future\/assets\/screenshot-1.png?rev=1083493","caption":"<p>Post scheduled for October 21, 2015, the date movie Back to the future.<\/p>"},{"src":"https:\/\/ps.w.org\/back-to-the-future\/assets\/screenshot-2.jpg?rev=1083493","caption":"<p>Movie image from back to the future where it shows the date of the future.<\/p>"}],"raw_content":"<!--section=description-->\n<ul>\n<li>Displays future\/scheduled posts on single.php(Single Post Template)<\/li>\n<li>Displays future\/scheduled posts using shortcode<\/li>\n<li>Enables comments for future\/scheduled posts<\/li>\n<\/ul>\n\n<p>https:\/\/www.youtube.com\/watch?v=6Tf8mPsvcOs<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=yptqRdig1rU<\/p>\n\n<h3>For Developers<\/h3>\n\n<p>On your template, just simply add the string 'post_status=future' to your WP_Query<\/p>\n\n<p>Example: WP_Query('post_status=future');<\/p>\n\n<pre><code>$args = array(  'post_type' =&gt; 'post_type', \n                'posts_per_page' =&gt; '-99',\n                'post_status' =&gt; array( 'publish', 'future' )\n            );\n\n            $loop = new WP_Query( $args );\n\n            while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); \n<\/code><\/pre>\n\n<p>Read More in <a href=\"http:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\/\">http:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\/<\/a><\/p>\n\n<p>This displays all future and published posts.<\/p>\n\n<h3>License<\/h3>\n\n<p>Back to the Future is free software: you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<\/p>\n\n<p>Back to the Future is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License along with Back to the Future. If not, see <a href=\"http:\/\/www.gnu.org\/licenses\/\">http:\/\/www.gnu.org\/licenses\/<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload 'back-to-the-future.php' to the \/wp-content\/plugins\/ directory<\/li>\n<li>Go to the Plugins page in your WordPress Admin area and click 'Activate' for Back to the Future<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to show future\/schedules post in theme?<\/dt>\n<dd><p>On your template, just simply add the string 'post_status=future' to your WP_Query<\/p>\n\n<p>Example: WP_Query('post_status=future');<\/p>\n\n<pre><code>$args = array(  'post_type' =&gt; 'post_type', \n                'post_status' =&gt; array( 'publish', 'future' )\n            );\n\n            $loop = new WP_Query( $args );\n\n            while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); \n<\/code><\/pre>\n\n<p>Read More in <a href=\"http:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\/\">http:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\/<\/a><\/p><\/dd>\n<dt>How to show future\/schedules post in page using shortcode?<\/dt>\n<dd><p>On your page or post using <code>[backfuture]<\/code> for show future posts.<\/p>\n\n<p>Parameters currently accepted in shortcode<\/p>\n\n<ul>\n<li><code>post_type<\/code> = Default: post<\/li>\n<li><code>posts_per_page<\/code> = Default: All<\/li>\n<li><code>orderby<\/code> = Default: menu_order<\/li>\n<li><code>thumbsize<\/code> = Default: thumbnail<\/li>\n<\/ul>\n\n<p>Example <code>[backfuture post_type=\"movie\" posts_per_page=\"5\" thumbsize=\"large\"]<\/code><\/p>\n\n<p>This displays all future and published posts.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0 - 29\/01\/2015<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Allow you show Future or Scheduled Post on Single Posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34393"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/valeriosza"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34393"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34393"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34393"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34393"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34393"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}