
外掛標籤
開發者團隊
原文外掛簡介
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 preview links 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.
Common use cases
Share a WordPress draft post with a client before publishing.
Send a private preview link for a pending page, scheduled campaign, or unpublished landing page.
Let stakeholders review content without giving them a WordPress login.
Create separate labeled preview links for legal review, client review, editorial review, or team approval.
Revoke access after feedback is complete or when a preview link should no longer work.
Keep search engines from indexing private preview URLs with robots directives.
Key features
Generate secure public preview links from the block editor, Classic Editor, post list table, or Preview dropdown.
Share pretty URLs such as https://example.com/preview/exampletoken.
Set a default expiration time for preview links from the PreviewShare settings screen.
Override the expiration time per post or page.
Create multiple labeled preview links for different reviewers.
Revoke preview access when a link should stop working.
View and manage preview link status, expiry, labels, and view counts from the settings screen.
Choose which public post types support public preview sharing.
Keep token lookup fast with optional object cache support.
How PreviewShare protects preview links
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.
Development
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.
