Easily Duplicating WordPress Pages, Posts and Taxonomies

In this post we're taking a look at 3 super easy ways to duplicate WordPress Pages, Posts and Taxonomies.
Getting Started:

In this post we’re going to take a look at how to easily duplicate pages, posts and taxonomies. Let’s first set out exactly what we mean by these three, pages are exactly as they sound as are posts however taxonomies represent custom post types such as testimonials, portfolio items and case studies.

Things to Consider:

So why would you want to duplicate any of the above, the main reason is that it saves time especially for content that shares a large number of features with other content. If you’re writing a blog post which features the same structure or tags or categories, by duplicating the page you don’t need to enter this information from scratch.

Another major benefit is that it can provide a starting point for developing content, and can be used to edit the structure of existing content. For example if you have a blog post that you’re happy with the text and images in, but the layout needs to be changed slightly by duplicating the page and editing it as a draft before launching it you don’t need to copy the content over between posts.

So are there any drawbacks to duplicating pages, posts and taxonomies? This will ultimately depend on how many posts you’re duplicating but one of the main issues with this method is that it can result in things being missed / left that represent the previous page but not the current one. For example you may duplicate a post in order to easily use the layout to then change the content, however if you forget to change the meta title or the categories if they’re different this will then be showing information that isn’t correct.

Another thing to consider is that whilst, mostly relatively lightweight this post will be discussing plugins that are used to achieve the duplication and every plugin that is added to a site adds potential size to that website.


3 Methods for Duplicating WordPress Page, Post and Taxonomy Content:

So let’s take a look at the easiest methods for duplicating pages, posts and taxonomies:

Plugins:

We’ve featured two great plugins for cloning pages, posts and taxonomies both are very powerful and well rated within the plugin repository. Simply install either of these and then when you visit a post / page you will see the option to duplicate or clone in the items below the post / page title in the overview.

Direct Link https://wordpress.org/plugins/duplicate-page/

Direct Link https://wordpress.org/plugins/duplicate-post/

With a page builder:

Many heavily used page builders such as WPBakery use shortcodes to generate the content within the page if you’ve already built a page and want to copy the layout from the builder you can toggle to the HTML view within the builder and copy the shortcodes for the entire page. These shortcodes when copied over to another page will re-create the same content.

Each page builder has a different shortcode structure so be sure to look into the one that you’re using to find out how to display the shortcode view so that it can be copied between pages.

Another option when using page builders is any sort of portability function. For example the Divi Theme and Page builder has an integrated portability tool. This allows you to download a copy of the page as a Divi layout which can then be uploaded to another page. In this instance it would also work with Taxonomies and Posts as long as the Divi builder is enabled on them.

Lastly when it comes to page builders a large percentage of them have templating functions this allows you to save your page or post etc. as a template. When creating a new page you can then load the template up and the layout will be the same. This won’t copy over the page settings, such as the meta description etc. so make sure to check and update that.

Using the generated HTML:

If your website has been built with most or all of the content added directly to the Wysiwyg editor, Gutenberg editor or custom fields that use the Wysiwyg editor you can convert that content to HTML and copy the HTML to another page. You would then simply need to paste the HTML into another Gutenberg HTML, Paragraph or Custom Field block and convert it back to blocks.

With the Wysywig Editor:

With this editor simply click HTML at the top of the box next to text which will display all of the content in HTML format. Copy all of this and open up your new page, within the editor on this page click HTML at the top again and then paste the content. If you then toggle back to text the content should be the same.

With the Gutenberg Editor:

With this editor you can convert paragraphs to HTML code by clicking on the toggle and selecting convert to HTML you can then copy and paste this in another Gutenberg page and then click the toggle to select convert back to blocks.

Further Reading:

Styling the WordPress Comments Box

What is Lorem Ipsum?

Summary:

There are a few different ways to duplicate pages, post and taxonomies however one of the quickest and easiest is to use a plugin designed for the task as it will copy over part of that page / post over and save it as a draft. Meaning you’re completely duplicating the entire content of that page. The other methods are also relatively straight forward but may require you to edit / update the page attributes and metadata as only the text / inner page content it copied over.

We hope this gives you a good understanding of the easiest ways to duplicate pages, posts and taxonomies on your site and we’d really appreciate a comment or a share thanks!

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124