BACK TO DIRECTORY




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, never, or a custom date & time.
- 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 — toggle them on in Tools Erdo Draft Links Settings, or via a filter for developers
- Multiple labeled links per post — e.g. “Client A” and “Designer”, each with its own expiry, revocable independently
- WP-CLI support —
wp erdo-draft-links generate|revoke|listfor scripting and automation - Secure 32-character cryptographic tokens — brute-force resistant
- Configurable expiry: 24 hours, 48 hours, 7 days, no expiry, or a custom date & time
- View count tracking per link, with an email notification the first time a link is opened
- Visitors can leave name + feedback on the preview — collected in a “Feedback” tab in the admin and emailed to you
- Reply to feedback directly from the admin — visitors see your reply the next time they open the preview
- Revoke 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.
Screenshots

Erdo Draft Links panel in the Block Editor sidebar — generate, copy, and manage your link.

Erdo Draft Links meta box in the Classic Editor — same functionality, same REST API.

Draft post viewed via Erdo Draft Links by a non-logged-in visitor.
Plugin Details
Active Installs
10Total Downloads
382Version
1.2.0Requires WP
6.0Requires PHP
7.4Tested Up To
7.1Added
2026-06-01Last Updated
2026-08-27 11:04am GMTRatings
5
1
4
0
3
0
2
0
1
0