Public Post Preview Plugin for WordPress
Is it A Hidden Gem Of A WordPress Plugin?
Hey everyone! Welcome to another blog post from your’s truly. Iām Ben š, and today I want to talk about a nifty WordPress plugin called Public Post Preview. This free plugin has over 100,000 installations from WordPress.org, but not many people seem to know about it. I use it every day, and I’d love to show you why you should add it to your WordPress toolkit.
What is Public Post Preview?
Public Post Preview is a simple yet powerful plugin that allows you to share a preview of your WordPress posts with anyone, even if they don’t have access to your WordPress backend. It’s perfect for situations where you need feedback or approval on content before making it live.
Key Features
- Free to use
- Over 100,000 active installations
- Allows you to share drafts without giving backend access
- Easy to set up and use
How to Install Public Post Preview
Installing Public Post Preview is super straightforward. Hereās a step-by-step guide to get you started:
- Go to your WordPress dashboard: Navigate to āPluginsā and click āAdd New.ā
- Search for Public Post Preview: Type in āPublic Post Preview” and hit return.
- Install and activate: Find the plugin in the search results, click āInstall Now,ā and then āActivate.ā
Thatās it! The plugin is now installed and ready to go.
Using Public Post Preview
Once the plugin is activated, you might wonder where the settings are. Donāt worry; itās designed to be as simple as possible. Hereās how to use it:
- Create a new post or edit an existing draft.
- Enable Public Preview: In the post editor, switch the post status to āDraft.ā Youāll see a new box appear titled āEnable public preview.ā
- Share the Link: Click on “Enable public preview” and copy the generated link. You can now share this link with anyone you want to preview the post.
Real-World Applications
Public Post Preview can be incredibly useful in various scenarios:
- Client approvals: Share drafts with clients for their approval without giving them backend access.
- Team collaboration: Easily get feedback from team members on your content.
- Portfolio pieces: Showcase your work without making it publicly available yet.
Example: Previewing a Product Listing
Let’s say youāre a retailer working with a manufacturer who wants to approve product descriptions. Instead of giving them backend access, you can use Public Post Preview to share a draft of the product listing.
- Draft the product: Create your product in WooCommerce and save it as a draft.
- Enable Preview: Enable public preview and copy the link.
- Share the Link: Send the link to your manufacturer for approval.
The manufacturer can click the link to see exactly how the product will look once published.
Extending the Preview Duration
By default, the preview link is active for 48 hours. If you need more time, you can extend this period by adding a small code snippet to your site. Hereās how:
- Install a code snippets plugin: Such as āCode Snippetsā from the WordPress repository.
- Add a new snippet: Go to āSnippetsā and click āAdd New.ā
- Paste the snippet: Enter the following code to extend the preview time.
add_filter( 'ppp_nonce_life', function() {
return 60 * 60 * 24 * 7; // 7 days
});
This code changes the preview duration to 7 days. You can adjust the number of days by modifying the value in the return statement.
Is it a hidden gem?
Public Post Preview is an underrated gem in the WordPress plugin ecosystem. Whether you’re a web designer, a developer, or running a web agency, this plugin can streamline your workflow, making it easier to get feedback and approvals. Give it a try and see how it can benefit your projects.
Best of all it’s free, and you can’t beat free!
If you enjoyed this post and found it helpful, consider supporting me!
I’d like to say thank you to two supporters: šš
š Tim Nash – https://timnash.co.uk/
š Aaron Bowie – https://weareag.co.uk/
If youāre enjoying the content and want to show your support, head over to my Buy Me a Coffee page at š° https://www.buymeacoffee.com/layerwp Your support helps me keep creating and improving the content you love.
For sponsorship of future content, take a look here: š https://buymeacoffee.com/layerwp/e/271147 Or email me on sponsor(at)layerwp.com Till next time!
Take care, and see you in the next post!
Subscribe To My Newsletter
Leave a Reply