Let anonymous users preview a post before it is published!
Have you ever been writing a post that needs to be reviewed by someone who does not have access to log in? This plugin generates a simple URL that can be given out for public preview.
Based on Public Post Preview 1.3 by Matt Martz and Jonathan Dingman. Unlike Public Post Preview, the Simple Preview can be accessed by more then one user. The 24hr time limit has also been removed.
- Click update from the WordPress plugin menu.
Click ‘Download’ on this page.
Deactivate the simple preview plugin through the Plugins menu in WordPress Admin.
Upload the folder to your /wp-content/plugins directory, overwriting the previous version.
From wordpress admin screen
Choose ‘Plugins > Add New’.
Search for ‘simple preview’ and install!
From this page
Upload the simple-preview folder to your /wp-content/plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer
- How is this different then Public Post Preview?
Completely removed the use of “nonce” variable. Posts marked preview are now accessible by multiple anonymous users. There is no longer a 24hr time limit.
Public_Post_Preview used the option variable as an array to store preview state – genius! However, it’s use seemed backwards with an empty item == preview true. This logic was reversed so: simple_array[,,true,,true] now means that p=1 and p=4 have previews. This also allows for the preview to be turned off by default.
Removed extra variables for a cleaner URI: http://www.yourblog.com/?p=1502&preview=true
- How do I use it?
Unlike public post preview, simple preview is not turned on by default.
To enable simple preview for a specific post, check ‘Allow Preview’ and save the post. A simple URL will be created.
To disable, uncheck the box and save the post again
- Tested on 4.9.8
- Fixed Bug: Link to preview pages is now ?page_id= instead od ?p=
- Tested on 4.9+
- Feature: Added support for Pages and Custom Post Types (thanks to @herrllama)
- Fixed Bug: Updated constructor (thanks to @chadhayton)
- Tested on 4.7+
- Moved from seperate meta box to the publish area.
- Cleaned up the code a bit.
- Fixed bug: Regulare preview works again
- Figed bug: Preview will remain active when a post is scheduled
- Tested on 3.6+. Cleaned up the code a bit.
- Initial release. Has been well tested.
- This version (and previous versions) were just used in testing. They weren’t event submitted to https://wordpress.org/extend/plugins/