
外掛標籤
開發者團隊
② 後台搜尋「Erdo Draft Links – Share Drafts, Client Preview, Secure Link」→ 直接安裝(推薦)
原文外掛簡介
Erdo Draft Links lets you generate a secure, token-based URL for any draft, private, or published post or page. Share it with clients, reviewers, or collaborators — they can read the content without needing a WordPress account.
Think of it like Google Docs’ “Anyone with the link can view” — but for WordPress.
How it works
Open any post or page in the editor (Block Editor or Classic Editor).
Click “Generate Draft Link” in the sidebar panel or meta box.
Choose an expiry: 24 hours, 48 hours, 7 days, or never.
Share the link. Recipients can view the content — no login needed.
Features
Works with both the Block Editor (Gutenberg) and the Classic Editor
Supports posts, pages, and any custom post type via a filter
Secure 32-character cryptographic tokens — brute-force resistant
Configurable expiry: 24 hours, 48 hours, 7 days, or no expiry
View count tracking per link
Visitors can leave name + feedback on the preview — collected in a “Feedback” tab in the admin and emailed to you
Revoke or regenerate any link at any time
Tokens are stored hashed in the database — raw tokens are never stored after the redirect
Two-step flow: token URL → cookie → clean permalink (token never appears in browser history)
No external API calls, no phone-home, no subscriptions
Translation-ready (English default, Turkish included)
Developer Notes
Developers can add support for custom post types using the erdo_draft_links_supported_post_types filter:
add_filter( 'erdo_draft_links_supported_post_types', function( $types ) {
$types[] = 'product';
return $types;
} );
Source Code
The full source code including build tools is included in the plugin’s assets/js/src/ directory.
