WP Manifestindependent plugin directory
manifest / content / duplicate-as

Duplicate as WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Duplicate or Duplicate as different post type, directly from the Editor Sidebar or the Admin List Tables.

★ 1stars
120release downloads
0.5.0latest · 1mo ago

Install

Download duplicate-as.zip From the 0.5.0 release on GitHub, Sep 4, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/carstingaxion/duplicate-as/releases/download/0.5.0/duplicate-as.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

Duplicate or Duplicate as different post type, directly from the Editor Sidebar or the Admin List Tables.

How It Works

  1. Open any post or page in the block editor
  2. Open the Editor Sidebar
  3. Click Duplicate or Duplicate as (...) to create a copy
  4. The plugin will copy all content and metadata
  5. You’ll be automatically redirected to edit the new draft

The plugin works with posts and pages by default and can be extended to support custom post types through the post type supports system.

Example 1: Duplicate pages (supported by default)

add_post_type_support( 'page', 'duplicate_as' );

Example 2: Duplicate and "Duplicate as" for posts (supported by default)

add_post_type_support( 'post', 'duplicate_as', array('page', 'post') );

Frequently Asked Questions

Where is the duplicate button?

Duplicate or Duplicate as different post type, directly from the Editor Sidebar or the Admin List Tables

Who can see and use the duplicate button?

Only users with the appropriate post editing capabilities can see and use the duplicate button. This typically includes Editors, Administrators, and Authors.

What content gets duplicated?

The plugin duplicates:

  • Post/Page title
  • Post/Page content and all blocks
  • Featured image
  • Categories
  • Tags
  • Custom fields (except internal WordPress fields like edit locks)
  • Post format
  • Comment and ping status
  • Menu order

What happens after I click duplicate?

The plugin creates a new draft copy of your post/page and automatically redirects you to edit it. The new post will have the same title as the original.

Can I duplicate custom post types?

Yes. To enable duplication for custom post types, add post type support:

add_post_type_support( 'your_post_type', 'duplicate_as' );

Can I transform posts to different post types?

Yes. Add post type support with a target post type:

add_post_type_support( 'page', 'duplicate_as', 'post' );

This will change the button label to Transform and create the duplicate as the target post type.

Does it work with page builders?

Yes. Since it duplicates the raw content and all blocks, it works with any block-based page builder or the standard WordPress block editor.

Can I customize what gets duplicated?

Yes. The plugin provides several filter hooks:

  • duplicate_as_post_data – Filter post data
  • duplicate_as_taxonomies – Filter taxonomies to copy
  • duplicate_as_taxonomy_terms – Filter terms for a specific taxonomy
  • duplicate_as_excluded_meta_keys – Filter excluded meta keys
  • duplicate_as_meta_value – Filter individual meta values
  • duplicate_as_featured_image – Filter featured image ID

Screenshots

  1. The duplicate option appears in the More Actions menu (⋮) in the editor header
  2. Processing state shows while the post is being duplicated
  3. Success redirect to the newly created draft

Installation

  1. Upload the plugin files to the /wp-content/plugins/duplicate-as directory, or install the plugin through the WordPress Plugins screen
  2. Activate the plugin through the Plugins screen in WordPress
  3. Open any post or page in the block editor
  4. Click the More Actions menu (⋮) to see the duplicate option

Changelog

All notable changes to this project will be documented in the CHANGELOG.md.


Developer Notes

Take a look at the short Developer Documentation and the list of filter & action hooks.

Releases

7 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
0.5.0 latest
Sep 4, 2026 1mo ago
duplicate-as.zip
38
Jul 5, 2026 3mo ago
duplicate-as.zip
69
Jun 2, 2026 4mo ago
tag only
—
May 21, 2026 5mo ago
duplicate-as.zip
0
Mar 22, 2026 7mo ago
duplicate-as.zip
0
Mar 22, 2026 7mo ago
tag only
—
Jan 21, 2026 9mo ago
duplicate-as.zip
13
A grade

Security

Duplicate as 0.5.0 · audited by WP Registry

No security issues found.

Audited release
0.5.0
Findings
none
Worst severity
—
Content hash
8fd5903485e3b3f252a4cc58…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.