How to Share a Draft With Anyone In WordPress
Articles Blog

How to Share a Draft With Anyone In WordPress

August 11, 2019


Alright. Howdy folks! So this is a pretty common scenario in WordPress, I think. I’ve got a draft post on the right. This isn’t actually just to say post type post post type, but really any kind of content in WordPress. And I can preview my draft and see what it looks like. But I might want to share that with a colleague or say I’d written about a business locally maybe I want to let them have access so they can proofread my post. So I might try to give them this URL, where I know this is still in draft mode, and I try to share with them. What they see is… nothing. Because WordPress won’t show your post drafts to people when they aren’t published. So the solution to that is to install a plugin that I really like, it’s called “Public Post Preview”. If we do a search for that, it’s a very simple plugin to install—oh, I need to actually install the plugin, my bad. So I go to “Add New.” Again I go and search for “Public Post Preview” which is the name of the plugin, and it works on all post types that name shouldn’t confuse you. Every post type will work including this Quick Guide that I’m working on. So how this plugin works—I’m going to install it—is that it will give me the ability to create links for drafts as I work on them that will let other people view them, but it doesn’t automatically create them for every one. I think [that] is a nice bonus because you wouldn’t necessarily want every post to be easy to get access to, you just want to selectively be available. So here it is Public Post Preview by Dominic Schilling and this is installed now, and activated. So if I go and refresh my draft view, I will now see in this “Publish” metabox that’s something different will have happened, which is that under this “Publish” metabox I get this “Enable public preview” option, and if I click that I get a URL that comes through that I can now share. And if I share that to the person who previously couldn’t view my draft what they will get—again this right window is private browsing or incognito browsing so it’s not logged in to your WordPress site—they’re seeing the draft. So that’s what “Public Post Preview” does, and its really great. It’s a great way to share drafts without having to go through some crazy hack or some different workflow. You can just enable them on the draft, in the draft mode inside of WordPress, and it’ll make it so that someone who isn’t logged in to your WordPress site can view your post. Alright, have a good week!

Only registered users can comment.

Leave a Reply

Your email address will not be published. Required fields are marked *