How to Duplicate a WordPress Page or Post with a Single Click

How to Duplicate WordPress Page or Post
Carley Jeffrey

Besides utilizing plugins, you can also code your way into duplicating WordPress pages and posts. If you’re someone who likes programming, this will be right up your alley. Even if you’re not, we have got your covered. Below, you will find the code snipper to enable post duplication in WordPress:

While this snippet only works for duplicating posts, you can switch to duplicating WordPress pages by replacing the last line by this:

All you need to do is paste this code in your functions.php file. To do this, you can either use File Manager, FTP client or inbuilt WordPress file editor:

How to Duplicate a WordPress Page or Post with a Single Click
Rolande Kline

Sometimes you have a need to duplicate a post or a page from your site for a reason. Creating a duplicate post or page allows you to work on it without affecting the existing version. In this video we will show you how to quickly duplicate a WordPress page or post with all the settings.

Text version of this tutorial:

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:

Follow us on Twitter:

Join our circle on Google+:

Checkout our website for more WordPress Tutorials

Summary of this tutorial:

When working on a redesign or similar project for your site you may want to copy and paste the content on your existing site.

While you can edit a page and manually copy paste it does not mean the other elements will transfer such as featured images or other settings.

Start by installing and activating the Duplicate Post plugin.

Once activated under Settings, Duplicate Post you can customize the plugin settings to how you want them.

Go to Posts, All posts and there will be a new link to clone a post or create a new draft.

Choosing clone will create a duplicate post and will not open it in the editor.

The New Draft will duplicate the post and open the editor for you to edit it right away.

There will be the same options for pages as well.
Mary Mann

Duplicate page and post plugin provides functionality to creates a clone of page or posts. You can duplicate pages, posts and custom post by click and it will be saved as draft.
Duplicate page and post doesn’t have a lot of features that other plugins have, but it also is lightning fast by comparison.

Be the first to comment

Leave a Reply

Your email address will not be published.