Skip to content

Post Draft Preview is a plugin enabling the publication of post drafts. It allows preview of a draft without being logged to the WordPress admin panel.

License

Notifications You must be signed in to change notification settings

wpserved/post-draft-preview

Repository files navigation

Post Draft Preview

Description

Simple plugin enabling the publication of post drafts. It allows preview of a draft without being logged to the WordPress admin panel. Compatible with the Gutenberg and the Classic Editor.

How it works

Content created in WordPress from the moment a post or page is added, but before it is published, receives draft status. You can send the draft to someone else, but that person must have adequate access to the wp-admin section. The problem arises when we want to show a draft of the post to people who do not have access to our wp-admin panel. For this purpose, we have created the Post Draft Preview plugin.

Functionalities

  • Draft preview of posts for not logged in users;
  • Generating a unique security hash for each entry;
  • Possibility to enable public draft preview for each post separately;
  • Automatic reset of security hashes;
  • Automatic clear all plugin data from database;
  • Compatibility with the Gutenberg and the Classic;

Requirements

  • WordPress >= 5.5
  • PHP >= 7.4

Installation

Automatic install from WordPress Dashboard

  1. Click on Plugins → Add New;
  2. Search for "Post Draft Preview" using the top right searchbox;
  3. Click on the Install Now button;
  4. Click on Activate;
  5. Go to Settings → Post Draft Preview and customize behaviour as needed.

About

Post Draft Preview is a plugin enabling the publication of post drafts. It allows preview of a draft without being logged to the WordPress admin panel.

Topics

Resources

License

Stars

Watchers

Forks