Title: Dynamic Draft Post
Author: m1k3xur
Published: <strong>16. juli, 2024</strong>
Last modified: 15. december, 2025

---

Søg plugins

![](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

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

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

 * [Detaljer](https://da.wordpress.org/plugins/dynamic-draft-post/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/dynamic-draft-post/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/dynamic-draft-post/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/dynamic-draft-post/#developers)

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

## Beskrivelse

**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).

## Skærmbilleder

 * [[
 * **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.

## Installation

 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.

## FAQ

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

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Dynamic Draft Post” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

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

[Oversæt “Dynamic Draft Post” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/dynamic-draft-post)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/dynamic-draft-post/),
tjek [SVN repository](https://plugins.svn.wordpress.org/dynamic-draft-post/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/dynamic-draft-post/)
via [RSS](https://plugins.trac.wordpress.org/log/dynamic-draft-post/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1

 * Handling HTML entities via mbstring deprecation fixed

#### 1.0

 * Initial release

## Meta

 *  Version **1.1**
 *  Senest opdateret **4 måneder siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.9.4**
 *  PHP-version ** 8.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/dynamic-draft-post/)
 * Tags
 * [draft](https://da.wordpress.org/plugins/tags/draft/)[editor](https://da.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://da.wordpress.org/plugins/tags/gutenberg/)[page](https://da.wordpress.org/plugins/tags/page/)
   [post](https://da.wordpress.org/plugins/tags/post/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/dynamic-draft-post/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/dynamic-draft-post/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/donate/?hosted_button_id=J6MYV4TUVCWDW)