Post Duplicator

Description

This plugin was created to make an exact duplicate of a selected post. Custom post types are supported, along with custom taxonomies and custom fields.

*Note: Comments are not passed to the new post.

This plugin is simply meant to quickly and easily duplicate a post. Just hover over a post in the edit screen and select โ€˜Duplicate {post_type}โ€™ to create a duplicate post.

I created this plugin mainly for myself when I’m develping WordPress sites. I always need dummy content to fill out the look of a website and wanted a very quick and easy way to create multiple posts.

Screenshots

  • Sample view of the duplicate post link
  • View of the settings page

Installation

  1. Upload m4c-postduplicator directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the โ€˜Pluginsโ€™ menu in WordPress

FAQ

Are there any settings I need to configure?

No, but there are a couple settings you can adjust if you choose to do so.
View the settings by going to โ€˜Tools > Post Duplicatorโ€™.

How do I install the plugin?

Check out the โ€˜Installationโ€™ tab.

Reviews

๐Ÿ‚ 9๏ธโƒฃ 9, 2024
It’s a quite good plugin, it works very fine ๐Ÿ‘
๐Ÿƒ3๏ธโƒฃ 13, 2024
so basic that i would miss this in core. great support either!
โ„๏ธ1๏ธโƒฃ 10, 2022
simple and it just works. But I had to delete it because I found in server logs it constantly communicates with the server, causing an unnecessary load even when I’m not using the plugin. It baffled me. Why..?
Read all 73 reviews

Contributors & Developers

“Post Duplicator” is open source software. The following people have contributed to this plugin.

Contributors

“Post Duplicator” has been translated into 12 locales. Thank you to the translators for their contributions.

Translate “Post Duplicator” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.36 [2024-09-02]

  • Security update. Fixed bug that allowed non-author to duplicate post.

2.35 [2024-05-14]

  • Allowed for center tag to be duplicated

2.34 [2024-04-27]

  • Added mtphr_post_duplicator_meta_{$key}_enabled filter to disable meta from duplicating
  • Added mtphr_post_duplicator_meta_value filter to modify meta values before saving
  • Disabled WooCommerce review count meta from duplicating

2.33 [2024-03-12]

  • Resolved special characters issue in duplicated title

2.32

  • Ensured users without publish_post permissions can not publish posts on duplication

2.31

  • Disabled Polylang post_translations taxonomy from attaching to duplicated posts

2.30

  • Additional fix to issue with unicode characters in Gutenberg blocks

2.29

  • Resolved issue with unicode characters in Gutenberg blocks

2.28

  • Bug fix from last update

2.27

  • Sanitization and validation updates
  • Settings page optimization

2.26

  • Removed duplicate functionality from post trash pages
  • Database sanitization updates
  • Asset loading path updates

2.25

  • Multiple data sanitization updates

2.24

  • Settings sanitization updates

2.23

  • Added setting to limit post duplication to current user
  • Added setting to setup duplicated post author to current user
  • Set the default setting of duplicated post author to current user

2.22

  • Fixed Gutenburg escaping in returns for ACF blocks

2.21

  • Javascript update for WP 5.5

2.20

  • Added โ€œdo_action( โ€˜mtphr_post_duplicator_createdโ€™, $original_id, $duplicate_id, $settings )โ€ action for custom actions on duplicated post
  • Added โ€œmtphr_post_duplicator_action_row_link( $post )โ€ function for custom post action rows
  • Separated post duplicated function outsite of ajax call for custom uses
  • Removed limitations of backend script to load only on specific pages

2.19

  • Added Duplicate button to published post edit pages

2.18

  • Modified javascript for allow duplication of duplicated page before page reload

2.17

  • XSS vulnerability fix
  • Language file updates

2.16

  • Modified how post meta is saved to database
  • Modified duplicate slug implementation
  • Added file duplication support for the WP Customer Area plugin

2.15

  • Added default value for duplicate post slug
  • New setting to append a custom string to the duplicate post title

2.14

  • New setting to append a custom string to the duplicate post slug

2.13

  • Fixed bug due to โ€œwp_old_slug_redirectโ€ function in core

2.12

  • Fixed page reload bug after duplication

2.11

  • Added ability to duplicate posts to other post types

2.10

  • Added page duplication support for the WP Customer Area plugin

2.9

  • Now supports multiple values of a single custom field during duplication

2.8

  • Added German language files
  • Added Japanese language files
  • Updated settings file for localization

2.7

  • Modified duplicated posts data: post_date_gmt, post_modified, post_modified_gmt

2.6

  • Changed the default published status to Draft

2.5

  • Changed the default post date of duplicated posts to be the current time.

2.4

  • Cleaned up some code.
  • Updated localization code and files.

2.2

  • Updated metaboxer code.

2.0

  • Added a settings page to set โ€˜post statusโ€™ and โ€˜dateโ€™ of duplicated posts.

1.1

  • Updated filenames and paths so the plugin works.