跳到内容

Back to the Future

v1.0

Valerio Souza · 2015年2月5日 上架

Allow you show Future or Scheduled Post on Single Posts.

正在使用
20+
评分
5.0 / 5
累计下载
2,386
最近更新
2015年2月6日
1 条评价需要 WordPress 1.5+已测试到 4.1.42

截图

Post scheduled for October 21, 2015, the date movie Back to the future.
Post scheduled for October 21, 2015, the date movie Back to the future.
Movie image from back to the future where it shows the date of the future.
Movie image from back to the future where it shows the date of the future.
  • Displays future/scheduled posts on single.php(Single Post Template)
  • Displays future/scheduled posts using shortcode
  • Enables comments for future/scheduled posts

For Developers

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.

License

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/.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums