WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Public Post Preview

Enables you to give a link to anonymous users for public preview of a post before it is published.

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. You can use the filter ppp_nonce_life. Example for 5 days:

add_filter( 'ppp_nonce_life', 'my_nonce_life' );
function my_nonce_life() {
    return 60 * 60 * 24 * 5; // 5 days
}

Or use the Public Post Preview Configurator.

Requires: 3.5 or higher
Compatible up to: 4.7
Last Updated: 2 days ago
Active Installs: 20,000+

Ratings

4.8 out of 5 stars

Support

1 of 4 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
50,2,1
67,3,2
100,1,1
67,3,2 0,1,0
100,1,1
100,3,3
100,1,1 100,2,2 100,2,2
100,2,2 50,4,2 100,1,1
100,1,1 100,2,2 100,2,2
100,3,3 100,1,1
100,2,2 100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,2,2
100,1,1
50,2,1
100,1,1
100,1,1
0,1,0
0,1,0 100,1,1
0,1,0