Title: Dynamic Draft Post
Author: m1k3xur
Published: <strong>2024 年 7 月 16 日</strong>
Last modified: 2026 年 5 月 22 日

---

搜索插件

![](https://ps.w.org/dynamic-draft-post/assets/banner-772x250.jpg?rev=3120416)

![](https://ps.w.org/dynamic-draft-post/assets/icon.svg?rev=3120416)

# Dynamic Draft Post

 作者：[m1k3xur](https://profiles.wordpress.org/m1k3xur/)

[下载](https://downloads.wordpress.org/plugin/dynamic-draft-post.zip)

 * [详情](https://cn.wordpress.org/plugins/dynamic-draft-post/#description)
 * [评价](https://cn.wordpress.org/plugins/dynamic-draft-post/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dynamic-draft-post/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dynamic-draft-post/#developers)

 [支持](https://wordpress.org/support/plugin/dynamic-draft-post/)

## 描述

**Dynamic Draft Post** is a simple button added to the Gutenberg editor, allowing
you to create a new draft post or page from selected text. This plugin will enhance
your writing workflow by providing quick access to draft creation directly within
the editor. Additionally, it manages the visibility of links based on user roles
and post statuses.

### Features:

 * Create draft posts or pages from selected text in the Gutenberg editor.
 * Option to create the draft as a post (default) or a page, available upon activation
   in the settings page of the plugin.
 * Automatically add a link to the selected text that points to the new draft.
 * Manage link visibility:
    - Disable links for visitors and subscribers if the linked post is in draft 
      status.
    - Enable links for users who can edit posts and pages.
    - Automatically handle link states based on the post status (draft, published,
      trashed, or deleted).
 * Send email notifications to admin when a new draft is created (optional).

## 屏幕截图

 * [[
 * **Settings page** Settings page by default.
 * [[
 * **Settings page** Settings page with Draft type activated.
 * [[
 * **Button location** Show the button when open menu after select text.
 * [[
 * **Modal window** Create draft modal window.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/dynamic-draft-post` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Configure the plugin settings through the ‘Settings’ > ‘Dynamic Draft Post’ screen
    in the WordPress admin.

## 常见问题

### How do I create a draft post or page?

In the Gutenberg editor, select the text you want to create a draft from. Click 
the ‘Create Draft Post’ button in the toolbar, enter the title and content, and 
click ‘Create’. Optionally, check the ‘Create draft as Page’ checkbox to create 
a page instead of a post (checkbox need to be activated in the settings page).

### How are links managed based on user roles and post statuses?

Links created by this plugin are automatically managed:
 – Disabled for visitors
and subscribers if the linked post is in draft status (it will shown a text after
the link staying that link is coming soon). – Enabled for users who can edit posts
and pages. – Enabled for everyone if the post is published. – Disabled if the post
is trashed (it will shown a text after the link staying that link has been trashed).–
Removed if the post is permanently deleted.

### How do I enable posts or page creation?

Go to ‘Settings’ > ‘Dynamic Draft Post’ and enable the checkbox labeled ‘Enable 
default post type’ and then select which option will be the default one (Posts or
Pages). Save the settings and proceed to create a new draft post by selecting a 
text in any old or new post/page.

### How do I enable email notifications for new drafts?

Go to ‘Settings’ > ‘Dynamic Draft Post’ and enable the checkbox labeled ‘Enable 
admin notifications for new drafts.’ Notifications will be sent to the admin email
when a new draft is created.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Dynamic Draft Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ m1k3xur ](https://profiles.wordpress.org/m1k3xur/)

[帮助将「Dynamic Draft Post」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dynamic-draft-post)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dynamic-draft-post/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dynamic-draft-post/)，或通过[RSS](https://plugins.trac.wordpress.org/log/dynamic-draft-post/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dynamic-draft-post/)。

## 更新日志

#### 1.1

 * Handling HTML entities via mbstring deprecation fixed

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**3 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dynamic-draft-post/)
 * 标签
 * [draft](https://cn.wordpress.org/plugins/tags/draft/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/dynamic-draft-post/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/dynamic-draft-post/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dynamic-draft-post/reviews/)

## 贡献者

 *   [ m1k3xur ](https://profiles.wordpress.org/m1k3xur/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dynamic-draft-post/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/donate/?hosted_button_id=J6MYV4TUVCWDW)