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.
Using The WordPress Dashboard
- Upload ‘preview-posts-everywhere’ to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Done 🙂
- You can find a few settings under Settings->Preview Posts Everywhere (in most cases you do not need to change here anything)
- Will visitors be able to see my drafts?
No, drafts will be visible only for logged in users that have assigned proper role (administrator by default)
- Why I don’t see drafts in sidebar widget?
By default drafts will be added only to main queries (for example query that select posts to display on home or category page).
To display drafts everywhere, go to settings page (Settings->Preview Posts Everywhere) and check “Add drafts to all queries”
- After install I do not see any drafts on frontpage
- Make sure that you have at least one draft 🙂
- You have to be logged in to see drafts
- By default drafts are visible only for users with Administrator role.
To check role assigned to your user, go to Users menu, find user on list and click Edit. Assigned role will be visible on list.
You can select all roles that should see drafts in Settings->Preview Posts Everywhere.
- Sometimes plugin do not use main query to get data. You can try to check “Add drafts to all queries” option in Settings->Preview Posts Everywhere to add drafts to all queries.
- Some cache plugins (like WP Super Cache) by default are caching pages for logged in users. If you do not see drafts, disable that option or just refresh cache.
- If you cache plugin do not differentiate cache for logged in and normal users then be aware that it is possible that normal users will see your drafts
that was cached during your admin session!
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“Preview Posts Everywhere” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.Katkıda bulunanlar
Geliştirmeyle ilgilenir misiniz?
- Fixed problems with native galleries
- Initial release