Pāriet uz saturu
WordPress.org

Latviešu valodā

  • Tēmas
  • Spraudņi
  • Jaunumi
  • Par
  • Iegūstiet WordPress
Iegūstiet WordPress
WordPress.org

Plugin Directory

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

  • Iesniegt spraudni
  • Mani favorīti
  • Pieslēgties
  • Iesniegt spraudni
  • Mani favorīti
  • Pieslēgties

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

Autors Erdinc Bulat
Lejupielādēt
  • Sīkāka informācija
  • Atsauksmes
  • Uzstādīšana
  • Attīstība
Atbalsts

Apraksts

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 support — wp 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.

Ekrānuzņēmumi

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.

Uzstādīšana

  1. Upload the erdo-draft-links folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open any post or page and find the Erdo Draft Links panel in the editor sidebar or meta box.

BUJ

Does this work with custom post types?

Yes. By default Erdo Draft Links supports posts and pages. Administrators can enable other public post types under Tools → Erdo Draft Links → Settings — no code required. Developers can also use the erdo_draft_links_supported_post_types filter, which takes precedence over the Settings tab.

Can I generate or manage links from the command line?

Yes, via WP-CLI: wp erdo-draft-links generate <post_id> [--label=<label>] [--expiry=<24h|48h|7d|never>], wp erdo-draft-links revoke <link_id>, and wp erdo-draft-links list [--post_id=<id>] [--status=<all|active|expired|revoked>] [--format=<table|csv|json|yaml|count>].

Is the shared link secure?

Yes. Tokens are 32 characters of cryptographic randomness generated by WordPress’s built-in wp_generate_password. The raw token appears in the URL only once — subsequent visits use a signed HttpOnly cookie. Tokens are stored as SHA-256 HMAC hashes in the database.

What happens when a link expires?

The recipient sees a clear message: “This draft link has expired and is no longer accessible.” The post remains a draft — nothing is published.

Can I have multiple active links for the same post?

Yes. Give each link an optional label (e.g. “Client A”, “Designer”) when you generate it, and each link gets its own expiry, view count, and can be revoked independently of the others.

Can I set a custom expiry date and time?

Yes. Choose “Custom Date & Time…” from the expiry dropdown when generating a link and pick any future date and time, in addition to the 24 hour / 48 hour / 7 day / never presets.

Will I be notified when someone opens the link?

Yes. The site admin email receives a notification the first time each link is opened. Repeat visits to an already-opened link don’t send another email.

Does this work with password-protected posts?

No. Erdo Draft Links is designed for draft and private posts. Password-protected posts use WordPress’s own mechanism.

Does this plugin affect site performance?

Erdo Draft Links only runs on requests that include a ?erdo_token= parameter or a valid session cookie. Normal site traffic is not affected.

Atsauksmes

Exactly the tool every client workflow needs

Delta Web Solution 12 jūnijs, 2026
If you do any kind of client work, this plugin is a no-brainer. You generate a secure temporary link, send it over, and the client opens the post exactly how it'll look live. No account, no login, no awkward exports, just a clean preview in seconds. The little details are what make it shine. You can set the link to expire after 24 hours, a few days, or never, and revoke it any time, so you always stay in full control of who can see what. It works with both the Block Editor and Classic Editor, and setup is so simple you'll have your first link out the door within a minute of installing it. It is lightweight, does one job and does it really well, and it is completely free. If you have ever struggled to let someone preview a draft without handing over WP access, just install this, you won't look back. Genuinely one of those plugins you wonder how you worked without. Highly recommended.
Lasīt 1 atsauksmes

Autori un izstrādātāji

“Erdo Draft Links – Share Drafts, Client Preview, Secure Link” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki
  • Erdinc Bulat

“Erdo Draft Links – Share Drafts, Client Preview, Secure Link” ir tulkots lokalizācijā 1. Paldies tulkotājiem par ieguldījumu.

Tulkot “Erdo Draft Links – Share Drafts, Client Preview, Secure Link&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.2.0

  • New: Generate multiple labeled links per post (e.g. “Client A”, “Designer”) — each with its own expiry, view count, and independent revoke.
  • New: Reply to visitor feedback directly from the Feedback tab; the visitor sees your reply the next time they open the preview on that page.
  • New: Custom date & time expiry option, in addition to the 24 hour / 48 hour / 7 day / never presets.
  • New: The site admin gets an email the first time a draft link is opened.
  • New: A Settings tab (Tools → Erdo Draft Links → Settings) lets administrators enable other public post types without code.
  • New: WP-CLI support — wp erdo-draft-links generate|revoke|list.
  • Tested up to WordPress 7.1.

1.1.0

  • New: Visitors can leave name + feedback on a shared draft preview; submissions appear under the new “Feedback” tab in the Erdo Draft Links admin page and are emailed to the site admin.
  • New: The Links Manager table now has a “Link” column with a hidden-by-default reveal button and one-click copy for the generated draft link.
  • Fix: Page builder content (Elementor and others) now renders correctly on shared draft preview links for non-logged-in visitors.
  • Fix: The “View Link” row action was renamed to “View Page” (it opens the post, not the draft link) to avoid confusion with the new “Link” column.
  • Fix: The Block Editor sidebar no longer shows a stale draft link after it has been revoked or regenerated elsewhere.
  • Fix: Caching plugins (e.g. LiteSpeed Cache) no longer serve stale draft previews or feedback status to visitors after a link is revoked or feedback status changes.
  • Fix: The feedback widget’s appearance (colors, sizes, fonts, spacing) is now fully isolated from the active theme so it looks the same on every site.

1.0.1

  • Fix: Replace deprecated current_time('timestamp') with time() for correct UTC handling.

1.0.0

  • Initial release.

Meta

  • Versija 1.2.0
  • Pēdējo reizi atjaunots: pirms 2 mēnešiem
  • Aktīvās instalācijas: 30+
  • WordPress versija 6.0 vai jaunāka
  • Pārbaudīts līdz: 7.1.3
  • PHP versija 7.4 vai jaunāka
  • Valodas

    English (US) un Turkish.

    Tulkojiet savā valodā

  • Birkas:
    client previewdraftpreviewshare
  • Papildu skats

Vērtējumi

5 no 5 zvaigznēm.
  • 1 5-star review 5 zvaigznes 1
  • 0 4-star reviews 4 zvaigznes 0
  • 0 3-star reviews 3 zvaigznes 0
  • 0 2-star reviews 2 zvaigznes 0
  • 0 1-star reviews 1 zvaigzne 0

Your review

Skatīt visasatsauksmes

Līdzdalībnieki

  • Erdinc Bulat

Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

Skatīt atbalsta forumu

  • Par
  • Jaunumi
  • Uzturētājs
  • Privātums
  • Vitrīna
  • Tēmas
  • Spraudņi
  • Modeļi
  • Uzziniet
  • Atbalsts
  • Izstrādātāji
  • WordPress.TV
  • Iesaistieties
  • Pasākumi
  • Ziedot
  • Swag ↗
  • WordPress.com
  • Matt
  • bbPress
  • BuddyPress
WordPress.org

Latviešu valodā

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Apmeklējiet mūsu X (agrāk Twitter) kontu
  • Apmeklējiet mūsu Bluesky kontu
  • Apmeklējiet mūsu Mastodon kontu
  • Apmeklējiet mūsu Threads kontu
  • Apmeklējiet mūsu Facebook lapu
  • Apmeklējiet mūsu Instagram kontu
  • Apmeklējiet mūsu LinkedIn kontu
  • Apmeklējiet mūsu TikTok kontu
  • Apmeklējiet mūsu YouTube kanālu
  • Apmeklējiet mūsu Tumblr kontu
Kods ir dzeja.