Skip to content

castomize/Share-Draft-Pages-WordPress-Plugin

Repository files navigation

Share Draft Pages

Contributors: Castomize.com

Tags: share, draft, pages, posts, public, preview

Requires at least: 5.0

Tested up to: 6.6

Stable tag: 1.0.2

Requires PHP: 5.6

License: GPL-3.0

License URI: http://www.gnu.org/licenses/gpl-3.0.html

Share Draft Pages allows you to share draft posts or pages with users via a secure, expiring URL, with customizable expiration settings in the WP admin panel.

Description

Share Draft Pages allows you to share a draft of any post or page with users before it is published. You can set a custom expiration time directly from the WP admin panel, ensuring full control over access duration.

This plugin is perfect for collaborating with external users who don’t have access to your site but need to review content before it goes live. Generate a secure, expiring URL for easy sharing, and manage its availability with a simple checkbox in the post editor.

Key Features

  • Share draft posts and pages with users via a secure URL.
  • Set customizable expiration time for preview links (days, hours, and minutes).
  • Control the preview feature directly from the WP admin panel.
  • Option to disable previews by unchecking the box in the post editor.
  • Lightweight and easy to use, with no additional configuration required.

Installation

You can install the Share Draft Pages plugin either automatically or manually: Automatic Installation:

Automatic Installation

  1. In your WordPress admin area, navigate to the 'Plugins' screen and click 'Add New'.
  2. Search for 'Share Draft Pages'.
  3. Click 'Install Now' and activate the plugin.

Manual Installation via FTP

  1. Upload the public_draft_page_preview directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' screen in your WordPress admin area.

Upload via WordPress Admin

  1. Download the plugin as a zip file.
  2. In your WordPress admin area, go to the 'Plugins' screen and click 'Add New'.
  3. Click the 'Upload Plugin' button and select the downloaded zip file.
  4. Click 'Install Now' and activate the plugin.

Usage

  1. Activate public post previews by selecting the 'Enable Public Draft Preview' checkbox located beneath the post editor.
  2. Copy the automatically generated preview URL and share it with others for external review.
  3. To disable the preview, simply uncheck the box, and the status will update to 'Disabled'.
  4. The preview link will automatically expire after 2 days by default, but you can customize the expiration duration in the plugin's settings.

Screenshots

Edit Page Enabled
Edit Page with "Enabled public draft preview" feature

Public Draft Settings
Public Draft Post/Page Preview Settings

Changelog

1.0.2 (9/3/2024)

  • Added: Display of Enabled or Disabled status on the post/page editor.
  • Added: Hours and Minutes options to the Expiration Duration setting.

1.0.1 (9/2/2024)

  • Added: Settings menu with the ability to set a custom expiration duration in days.

1.0.0 (9/1/2024)

  • Initial public release.

For a detailed list of changes, please refer to the [CHANGELOG.md]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published