[WordPress] 外掛分享: Preview Posts Everywhere

首頁外掛目錄 › Preview Posts Everywhere
WordPress 外掛 Preview Posts Everywhere 的封面圖片
20+
安裝啟用
★★★★★
5/5 分(3 則評價)
4212 天前
最後更新
問題解決
WordPress 3.5.1+ v1.0.1 上架:2013-10-14

內容簡介

沒有這個外掛程式,你只能在文章編輯頁面上按下預覽按鈕,才能預覽草稿狀態的每篇文章。不幸的是,這種預覽只適用於單頁模板。如果你打開首頁或分類頁面,就看不到任何草稿。

「Preview Posts Everywhere」外掛程式讓你可以在首頁、分類、存檔和搜尋頁面中預覽你的草稿。現在,你可以在每個頁面上檢查草稿的特色圖像、日期和標題,然後再發佈文章。

插件程式安裝後,開啟首頁即可看到文章清單中的草稿,你不需要按下任何預覽按鈕!只需前往你的網站並檢查文章列表即可。請注意,預設情況下,草稿只對具有管理員角色的已登入使用者可見。

如果你也想在小工具中(例如最新文章列表的小工具)看到草稿,只需前往設定頁面(設定->Preview Posts Everywhere)並勾選「在所有查詢中新增草稿」選項。

更嚴謹來說,當勾選「在所有查詢中新增草稿」選項時,草稿將會在 WP_Query 和 The Loop 使用的所有地方新增。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Preview Posts Everywhere」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Without that plugin you could preview every post in draft status just by clicking Preview button on post edit page. Unfortunately, that preview is available only for single page template. If you open home or category page you won’t see any drafts there.
Preview Posts Everywhere plugin will allow you to preview your drafts on home, category, archive and search pages. Now you can check your draft’s featured images, dates, titles on every page, before you publish the post.
Plugin works out of the box and after activation just go to home page to see your drafts on posts list. You do not need to click any preview button! Just go to your site and check list of posts. Remember that by default drafts will be visible only for logged in users with assigned Administrator role.
If you want to see your drafts also in widgets (for example on widget with latest posts list) just go to settings page (Settings->Preview Posts Everywhere) and check “Add drafts to all queries” option.
To be more strict, when option “Add drafts to all queries” is checked, drafts will be added in all places where WP_Query and The Loop are used.

文章
Filter
Apply Filters
Mastodon