Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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.

Captures d’écran

  • Settings page


Using The WordPress Dashboard

  1. Upload ‘preview-posts-everywhere’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done 🙂
  4. 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


  1. Make sure that you have at least one draft 🙂
  2. You have to be logged in to see drafts
  3. 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.
  4. 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.
  5. 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.
  6. 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!


Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Preview Posts Everywhere » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « Preview Posts Everywhere » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.



  • Fixed problems with native galleries


  • Initial release