[WordPress] 外掛分享: Back to the Future

WordPress 外掛 Back to the Future 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Back to the Future」是 2015-02-04 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2015-02-05,距離現在已有 3740 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 1.5 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

valeriosza | aliascomunicacao |

外掛標籤

future post | future shows | schedule post | future post type | schedule post type |

內容簡介

在 single.php (單一文章範本) 上顯示未來/預定發佈的文章
使用短碼顯示未來/預定發佈的文章
啟用未來/預定發佈的文章評論

對於開發人員

在您的範本中,只需將字串 ‘post_status=future’ 添加到您的 WP_Query 裡面

例如: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();

詳細請閱讀 https://codex.wordpress.org/Class_Reference/WP_Query/

這會顯示所有未來和已發佈的文章。

授權

Back to the Future 是自由軟體:您可以在自由軟體基金會發布的 GNU 通用公共授權條款第3版或(按您的選擇)更高版本下重新分發和/或修改它。

Back to the Future 發布於希望它會有用,但是不提供任何形式的保證或擔保,包括市場適銷性或特定目的的適用性擔保。詳情請參閱 GNU 通用公共授權條款。

如果您沒有收到 GNU 通用公共授權條款的副本,請參閱 http://www.gnu.org/licenses/

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Back to the Future」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon