0+
June 27, 2026
June 12, 2026
PreviewShare is a secure public preview plugin for WordPress. It helps editors share draft posts, pending pages, scheduled content, private posts, and other enabled public post types through controlled public preview links for anonymous reviewers without publishing early or creating temporary reviewer accounts.
Use PreviewShare when a client, legal reviewer, teammate, editor, or stakeholder needs to review WordPress content before it goes live. Each preview URL uses a random token, can expire automatically, can be revoked, and is designed for private review workflows such as client approval, content approval, editorial review, and scheduled campaign checks.
PreviewShare stores token hashes instead of plain-text tokens, adds noindex/nofollow robots directives to shared previews, and shows a clear preview banner on private preview pages.
https://example.com/preview/exampletoken.PreviewShare is built for private review, not public publishing. It uses random preview tokens, stores token hashes in WordPress post meta, supports automatic expiration, supports manual revocation, and sends noindex, nofollow, noarchive, nosnippet, and noimageindex directives for preview requests.
Anyone with a valid preview URL can open that preview, so links should still be shared only with intended reviewers.
The public source repository is available at https://github.com/mehul0810/previewshare.
Production ZIP files are built from the source repository with:
npm install
npm run plugin-zip
The release artifact includes compiled assets, Composer autoload files, composer.json, plugin PHP, languages, readme, and license files. Development files such as node_modules, source assets, CI configuration, tests, and build tooling are excluded from production ZIP files.
previewshare folder to the /wp-content/plugins/ directory, or install the plugin ZIP from the WordPress admin.PreviewShare creates public preview links for WordPress drafts and other enabled content statuses. Reviewers can open the preview URL without a WordPress account, while editors keep control over expiration, labels, view counts, and revocation.
Yes. PreviewShare is designed for public preview links, private draft previews, client review links, and editorial approval workflows in WordPress.
Open the draft in the block editor or Classic Editor, enable public preview in the PreviewShare panel, and generate a preview link. You can copy the generated URL and send it to the client for review.
Users must be able to edit the content item before they can generate or revoke a preview link for it.
Yes. PreviewShare supports the block editor, Classic Editor, post list table actions, and the Preview dropdown.
Yes. You can set a global default expiration in Settings > PreviewShare and override it for individual content items in the editor panel. A value of 0 means no automatic expiration.
Yes. Disable public preview from the editor panel, revoke links from the Classic Editor panel, or revoke individual links from the PreviewShare settings screen.
Yes. PreviewShare supports multiple labeled preview links, so you can create separate links for client review, legal approval, editorial review, or team feedback.
PreviewShare adds robots directives to preview requests, including noindex and nofollow, and displays a preview banner on shared preview pages. Treat preview URLs as private links and share them only with intended reviewers.
PreviewShare stores token hashes and token metadata in wp_postmeta. Raw tokens are used in preview URLs but are not stored as plain text.
Expired tokens stop resolving to content. The editor panel will show the expired state and re-enabling preview sharing generates a fresh token.
PreviewShare only exposes a specific content item to visitors who have a valid preview URL. Treat preview URLs like private sharing links and send them only to intended reviewers.