Can you copy a page in WordPress?

What I would do is to add a new page or post from the Admin Bar menu or inside the WP Admin and copy paste the content, the fields and set a page template if needed. This is a perfect way to copy a few posts, but in case you need to do more than a few or you need to duplicate posts or pages regularly. I will suggest using a function or a plugin to help you automate the whole copypasta for you.



Add New Page From Admin Bar

How to create a new page from the Admin Bar?

Copy a Page or Post using a Function

A function I like and use sometimes is something I found on GitHub called WordPress Duplicate post or page function, however, I use my fork which has both options for posts and pages added https://gist.github.com/B1-0S/c5efe3f839f4c27b60e3d0fe564b0a7e

This function adds a “Duplicate” link under your pages and posts in the Pages > All Pages or Posts > All Posts.
I tested it recently with WordPress 5.2, PHP 7.3, Advanced Custom Fields and the function seems to be working well.

Copy a Page or Post using Plugin

If you choose to go with the plugin option you should be fine with either of those two Duplicate Post and Duplicate Page. Please note either or those do not work for custom post types.

I hope this quick explanation was helpful,
Have a great one!

Autor: wpsnipp | ModifiedMay 16, 2019 at 12:30 am |

How to remove Genesis Framework post meta along with the Footer wrap on blog loop and single.php?

Hello, In this article, I will show you how to remove the footer wrap when removing the post meta in the Genesis Framework. …

What Atom IDE Plugins I use on my set up?

Hello, When I started using Atom as my code editor, I greatly improved the code I produce and the time it takes. One …

How to Display FAQs Featured Snippet in Google SERP?

Quickly Display Featured FAQ’s Make a plan and create a road map and Scale your idea. Before you start displaying your pages with …

What does the_content and get_the_content do in WordPress?

The WordPress functions the_content and get_the_content are used to pull the main text area from the page or post. The difference between them …

How to change Dash icon color in WordPress admin menu with CSS?

Change the default color for dash icon in the admin menu Probably you have this question when you create a Custom WordPress Theme …

How to run Lighthouse in Chrome DevTools ( VIDEO )

To install the Lighthouse extension for Google Chrome: Download Google Chrome for Desktop. Install the Lighthouse Chrome Extension from the Chrome Webstore. To run an audit: …

Advertising

If you liked the website, you can subscribe to our Facebook and Twitter pages or use our RSS feed channel to avoid missing anything interesting from www.wp-snipp.ninja



Wordpress Resources | Snippets | Themes


Do you need a custom Wordpress Template?


You are on the right place if you need specific design, functions or template/s for your WordPress website. Did you ever ask some of the Questions Below?
  • How do I create a custom WordPress template?
  • How customisable is WordPress?
  • How much does a custom WordPress theme cost?
  • How do I edit the content of my WordPress site?
  • How do I create a menu in Wordpress?
  • What is the default template in Wordpress?
  • How do I upload a theme to Wordpress?
  • How do I create a new page in Wordpress?
  • How do I add a template to Wordpress?
  • How do I add a subpage in Wordpress?
  • How old is Wordpress?
  • What are Wordpress pages?
  • How can I create a template?
  • How do I change my theme in Wordpress?
  • What is a taxonomy in Wordpress?
  • Can you copy a page in Wordpress?
  • How do I convert HTML to Wordpress?
  • How do I change the layout of one page in Wordpress?
  • How do I set a front page in Wordpress?
  • How do I change the layout of my Wordpress blog?
  • How do I change the header in Wordpress?
  • How do I change the header text in Wordpress?
  • How do I edit the top bar in Wordpress?
  • How do I change the top header in Wordpress?
  • How do I change my logo in Wordpress?
  • How do I edit headers and footers in Wordpress?
  • How do I hide the admin bar in Wordpress?
  • How do I hide the toolbar in Wordpress?
  • How do I edit text on a Wordpress site?
  • How do I remove the Powered by Wordpress?
  • How do I change my social media links on Wordpress?
  • How do I add my Instagram feed to Wordpress?
  • How do I link Facebook to my Wordpress website?