Allow anonymous users to preview a draft of a post before it is published.
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. Thanks to Hans Dinkelberg for his photo.
Note: There will be NO settings page.
For an automatic installation through WordPress:
For a manual installation via FTP:
public-post-preview
directory to the /wp-content/plugins/
directoryTo upload the plugin through WordPress, instead of FTP:
The checkbox is only available for non-published posts and once a post was saved as a draft.
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.
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 5 * DAY_IN_SECONDS; }
Or use the Public Post Preview Configurator.
For more see CHANGELOG.md.