Linux 软件免费装
Banner图

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

开发者 erdincbulat
更新时间 2026年6月17日 18:16
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

preview share draft client preview no login

下载

1.0.1 1.1.0

详情介绍:

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, or never.
  4. Share the link. Recipients can view the content — no login needed.
Features 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.

安装:

  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.

屏幕截图:

  • 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.

升级注意事项:

1.1.0 New: visitors can leave feedback on draft previews, and the Links Manager has a one-click copy for draft links. Fix: page builder content now renders correctly on preview links, the sidebar no longer shows stale links, and the feedback widget look is now consistent across themes. 1.0.1 Minor code quality fix; no functional changes. 1.0.0 Initial release.

常见问题:

Does this work with custom post types?

Yes. By default Erdo Draft Links supports posts and pages. Add more post types using the erdo_draft_links_supported_post_types filter.

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?

Currently one active link per post. Regenerating creates a new token and resets the view count.

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.

更新日志:

1.1.0 1.0.1 1.0.0