Documentation  ·  Revolutionary Duplicator 0.1.8

Revolutionary Duplicator, in five minutes.

How to duplicate pages, posts and custom post types, what each setting does, and the hooks developers can use.

Released version 0.1.6

Current release setup and checks

Copy a page, post or supported custom post type with control over its status and copied fields.

  • A copy requires permission to edit its source. Another author's private post or draft is not made available just because duplication is enabled.
  • A user without publish permission receives Pending Review when the selected copy status requires publication rights.
  • Settings includes a title prefix, suffix tokens and custom fields to skip. The duplication notice offers Undo for the new copy.

Check your setup

  • Choose the enabled post types and default copy status in Settings.
  • Use a harmless draft to check the title, status, metadata and taxonomies of a copy.

Watch the walkthrough

Duplicate a WordPress page into a separate draft

Use Revolutionary Duplicator to copy a fictional page, rename the draft and verify that the original remains intact. The duplicate stays unpublished.

Recording release: 0.1.4. Captured on an isolated demonstration site.

Chapters

Quick start

Up and running in minutes

Step 1

Install and activate

Upload the plugin under Plugins, Add New, and activate it. There is no setup to do.

Step 2

Duplicate a page

Go to Pages, hover any page and click Duplicate. The copy appears as a draft in the list.

Step 3

Adjust if you like

Open Revolutionary Plugins, Duplicator, Settings to change what is copied and who can do it.

Start here

Where everything lives

Duplicate links appear on your content screens as soon as the plugin is active. Settings live under Revolutionary Plugins, Duplicator, in two tabs: Dashboard and Settings.

yoursite.com/wp-admin/admin.php?page=revolutionary-duplicator&ta
Duplicator dashboard

Requirements

  • WordPress 5.6 or later
  • PHP 7.4 or later

License and updates

Your Revolutionary license key is entered once for the whole suite, in Multipurpose Dashboard, Welcome. Duplicator uses it only for automatic updates. It never turns features off.

The Dashboard tab

Shows each enabled post type with its published and total counts, a summary of what gets copied, quick actions and a short how-to.

Everyday use

Duplicating an item

There are four ways to make a copy. All of them take you back to the post type's list, where the new item appears with an Item duplicated notice.

yoursite.com/wp-admin/edit.php?post_type=page
Duplicate on the Pages list
WhereHow
Row actionHover an item on the Posts, Pages or custom post type list and click Duplicate
Bulk actionTick several items, choose Duplicate from Bulk actions and click Apply
Publish boxClick Duplicate in the Publish box of the classic editor
Admin barClick Duplicate in the admin bar while editing an item

Who owns the copy

The copy belongs to the person who made it, not the author of the original.

Settings

What gets copied

Some parts are always copied. The rest are controlled by the What to copy checkboxes on the Settings tab.

yoursite.com/wp-admin/admin.php?page=revolutionary-duplicator&ta
Duplicator settings

Always copied

  • Title, with your title suffix added
  • Content and excerpt
  • Parent page and menu order
  • Comment and ping settings
  • Post password

Your choice

OptionDefaultWhat it copies
Custom fields / post metaOnAll post meta, including the featured image. Edit lock data is skipped.
Categories, tags, and other taxonomiesOnEvery taxonomy the item belongs to
Page template / post formatOnThe page template and the post format
CommentsOffAll comments, keeping threading and each comment's approval status
Child pages (recursive)OffEvery child item, and their children, placed under the new parent

Settings

Status, naming and post types

The rest of the Settings tab controls how copies are named and saved and where Duplicate appears.

SettingDefaultWhat it does
Status of duplicateDraftDraft, Pending, Private or Published
Title suffix(Copy)Added to the end of the copied title. Leave blank to keep the original title.
Enabled post typesPosts and PagesAny public post type can be turned on
Required capabilityedit_postsAlso publish_posts, edit_others_posts or manage_options

Safety

Permissions

Two checks decide whether someone can duplicate an item.

  • They must have the Required capability from Settings.
  • They must be able to edit the item they are copying. This stops anyone reading a private draft by duplicating it.
  • When copying child pages, any child they cannot edit is skipped.

The Dashboard and Settings tabs themselves need the manage_options capability.

Hooks

For developers

Two hooks let you shape copies in your own code. There are no shortcodes, blocks or WP-CLI commands.

HookTypeWhen it runs
rvdup_new_post_args( $args, $source_post )FilterBefore the new post is inserted. Return changed arguments.
rvdup_after_duplicate( $new_id, $source_id )ActionAfter the copy and everything attached to it is complete

Example

Prefix every copied title with a date by filtering rvdup_new_post_args and changing $args['post_title'], or use rvdup_after_duplicate to clear a meta field that should never be copied.

Troubleshooting

Common questions

Turn it on under Settings, Enabled post types, and check that your role has the required capability.

That is by design. You can only duplicate items you are allowed to edit.

Your role cannot publish that post type, so the copy is held for review.

Only if you turn on Comments under What to copy. It is off by default.

Stuck on something?

Search the forums, open a ticket, or write to us. A real person reads every message.