BACK TO DIRECTORY

Erdo Draft Links – Share Drafts, Client Preview, Secure Link

by Erdinc Bulat

5.0
(1 ratings)

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

  1. Open any post or page in the editor (Block Editor or Classic Editor).
  2. Click “Generate Draft Link” in the sidebar panel or meta box.
  3. Choose an expiry: 24 hours, 48 hours, 7 days, never, or a custom date & time.
  4. 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 supportwp erdo-draft-links generate|revoke|list for 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 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.

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.

Draft post viewed via Erdo Draft Links by a non-logged-in visitor.

Plugin Details

Active Installs
10
Total Downloads
382
Version
1.2.0
Requires WP
6.0
Requires PHP
7.4
Tested Up To
7.1
Added
2026-06-01
Last Updated
2026-08-27 11:04am GMT

Ratings

5
1
4
0
3
0
2
0
1
0