There are various occasions and events when you would like to clone your existing blog post or a page and make some small changes and publish it. Well, there are few easy ways to duplicate a page or a post in WordPress.
To make sure that the page’s content, featured image, page templates and all the associated data is cloned, you should consider using a smart way to do so. There are tons of plugins out there that you can use to duplicate a page in WordPress. If you are not sure how to duplicate a page in WordPress, then you are in good hands.
You don’t want to invest your time in creating an exact copy of the existing page. You can simply save time and energy by duplicating an existing page in WordPress.
We will be sharing a complete tutorial on how to duplicate a page in WordPress using a plugin. In this guide, we will be using the Duplicate Post Plugin that will allow you to clone your existing posts and pages. Let’s have a look at how to duplicate a page in WordPress.
How to duplicate a page in WordPress using Duplicate Post Plugin
When you are about to duplicate a page or a post with the help of Duplicate Post Plugin, then you will have to follow few important steps. It is the easiest way to clone your existing WordPress page or post.
1. At first step, you will have to install and activate the plugin.
Navigate to the Plugins tab in your WordPress dashboard. Click ‘Add New’ plugin and then search for the Duplicate Post.
2. After installing and activating the plugin, you can move to the pages tab.
Now you can hover the page or post that you wish to duplicate, and you will see two new options, Clone, and New Draft.
3. If you want to clone a specific page, then you can click ‘clone’.
If you want to create a cloned version of a specific post and open it in a new editor, then you can click ‘New Draft’. After that, you can start editing that post or page and you can save it as a draft or publish it.
Duplicating WordPress page/post without using plugins
You can also clone a WordPress page or post without using any plugins. However, this method will require some coding knowledge from you and you will have to work with code when duplicating WordPress pages or posts without using any plugin.
If you like working with the code, then it will become a lot easier for you to clone pages without using any plugin. However, it is not extremely difficult for you and with the right tutorial, you can easily duplicate WordPress pages and posts.
Here is the code snippet that you will have to use for duplicating post in WordPress.
Embed Code <script src=”https://gist.github.com/domantasg/adfb4f3875aef743e86c48c7e5ca6a78.js”></script>
This is the code snippet that you can only use for creating duplicate posts. If you wish to duplicate WordPress pages, then you will have to replace the last line of the code with this code snippet:
Embed Code <script src=”https://gist.github.com/domantasg/1fbe954a218ff6010094b71e1a9d9925.js”></script>
Now that you have the code that you can use, you will have to paste this code in the function.php file. You can use FTP Client or File Manager to make these changes. Moreover, you can also make these changes by navigating to the WordPress Dashboard > Appearance > Editor.
You will be able to find a file named, ‘functions.php’. You can add this code at the end of the file and hit update file.
Once you have made these changes, you can now navigate to the Posts tab, where you will be able to see a duplicate button for duplicating WordPress post.
These are the few ways to understand how to duplicate a page in WordPress. If you don’t want to use any code, then you can simply install the right WordPress duplicate post/page plugin that will help you get the desired outcome. WordPress offers very easy ways to get the desired functionality and you can use the popular WordPress plugins to achieve the desired outcome.