On your template, just simply add the string ‘post_status=future’ to your WP_Query
Example: WP_Query(‘post_status=future’);
$args = array( 'post_type' => 'post_type', 'posts_per_page' => '-99', 'post_status' => array( 'publish', 'future' ) ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post();
Read More in https://codex.wordpress.org/Class_Reference/WP_Query/
This displays all future and published posts.
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.
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.
You should have received a copy of the GNU General Public License along with Back to the Future. If not, see http://www.gnu.org/licenses/.
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
Valerio Souza
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Build Custom Website Sections Effortlessly with Section Builder
Showcase Videos, Enhance Design & Increase Conversions
Build Trust with Customizable Payment Method Icons
Convert Users With Clear, Concise & Responsive Comparison Tables
Create Stunning Mastodon Feeds & Improve User Experience
Enrich Your Website with Interactive Instagram Slides
Transform PDFs into Interactive Experiences with PDF Flipbook
Transform Your Content with Interactive Diagrams and Flow Charts
Establish Urgency & Boost Conversions With a Countdown Bar
Simplify the Subscription Process To Boost Engagement & Conversions
Increase Engagement with Social Sharing
Increase User Engagement & Capture Leads
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!