Type to search.

#364 by installs

Public Post Preview

by Dominik SchillingVersion 3.1.2

Allow anonymous users to preview a draft of a post before it is published.

Active installs
100,000+
#364 of 1,000
Downloads, all time
1.9M
1,873,117
Downloads, 30 days
45.5K
11.6K in the last 7
Rating
4.6 / 5
79 reviews
Last updated
2 days ago
Oct 29, 2026
Version
3.1.2
28 releases

Upkeep and compatibility

Last updatedOctober 29, 2026Updated in the last 3 months
Tested up toWordPress 7.0.8Older than WordPress 7.1.4, the current release
Needs WordPress6.6 or newer
Needs PHP8.0 or newer
First publishedFebruary 20, 2009
Support, last two months1 of 1 threads resolved (100%)

Reviews

4.6 / 5 from 79 reviews

Reviews by star rating
5 stars67
4 stars3
3 stars0
2 stars4
1 star5

Downloads, last 30 days

Low 302 a dayHigh 3.6K a day

What the author says it does

Share a link to anonymous users to preview a draft of a post (or any other public post type) before it is published.

Have you ever been writing a post with the help of someone who does not have access to your site and needed to give them the ability to preview it before publishing? This plugin takes care of that by generating an URL with an expiring nonce that can be given out for public preview.

Previously this plugin was maintained by Matt Martz and was an idea of Jonathan Dingman. Photo by Annelies Geneyn.

Usage

  • To enable a public post preview check the box in the document settings. In the classic editor it’s in the “Publish” meta box.
  • The link will be displayed if the checkbox is checked, you can copy and share the link with your friends.
  • To disable a preview uncheck the box again.

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

I can’t find the option for preview links. Where is it?

The checkbox is only available for non-published posts and once a post was saved as a draft.

After some time the preview link returns the message “The link has been expired!”. Why?

The plugin generates an URL with an expiring nonce. By default a link “lives” 48 hours. After 48 hours the link is expired and you need to copy and share a new link which is automatically generated on the same place under the editor.

48 hours are not enough to me. Can I extend the nonce time?

Yes, of course. Go to Settings > Reading > Public Post Preview and increase the

Expiration Time setting. You can also use the filter ppp_nonce_life. Example for 5 days:

add_filter( 'ppp_nonce_life', 'my_nonce_life' ); function my_nonce_life() { return 5 * DAY_IN_SECONDS; }

Note: The setting UI is not visible if the filter is used.

The public preview shows an outdated version of the post. Why?

Preview pages are sent with headers that tell browsers, proxies and CDNs not to cache them. Some caching setups ignore these headers, for example a CDN rule that caches every page, such as “Cache Everything” on Cloudflare, or a page cache that also caches URLs with query strings. Exclude URLs containing the _ppp parameter from your cache to fix this.

Latest changelog entry

3.1.1 / 3.1.2 (2026-06-16):

  • Fix hidden dynamic content added through the Block Bindings API. Props @krokodok.

Screenshots

From WordPress.org.

Tagged

Plugins that share its tags

#216 by installs

GenerateBlocks

by Tom

A small collection of lightweight WordPress blocks that can accomplish nearly anything.

Installs
200,000+
Rating
4.9 (122)
Updated
18 days ago

#219 by installs

Post Duplicator

by metaphorcreations

Creates functionality to duplicate any and all post types, including taxonomies & custom fields. Perfect for developers and content creators.

Installs
200,000+
Rating
4.8 (80)
Updated
2 days ago

#273 by installs

MW WP Form

by Webの相談所

MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, …

Installs
200,000+
Rating
4.2 (23)
Updated
34 days ago

#334 by installs

WP Popular Posts

by Hector Cabrera

A highly customizable, easy-to-use popular posts plugin!

Installs
100,000+
Rating
4.5 (249)
Updated
34 days ago

The best WordPress plugin for displaying related posts. Simple and flexible, with a powerful proven algorithm and inbuilt caching.

Installs
100,000+
Rating
4.8 (1.2K)
Updated
24 months ago

#501 by installs

WP Meta and Date Remover

by prasadkirpekar

Remove meta author and date information from posts and pages. Hide from Humans and Search engines.SEO friendly and most advance plugin.

Installs
80,000+
Rating
4.2 (71)
Updated
5 months ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin.