Clone Page Tree
cjyabraham By cjyabraham

January 16, 2021

Clone Page Tree Plugin

๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง ๐Ÿ“„ ๐ŸŒฒ Adds a "Clone Page Tree" action to the page row actions to duplicate an entire page hierarchy. Also works for CPTs and posts.

๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง ๐Ÿ“„ ๐ŸŒฒ Adds a “Clone Page Tree” action to the page/post row actions. Cloning a page tree clones the page and all descendents creating a new copy of the full hierarchy. After clicking “Clone Page Tree” you will be redirected to edit the top-most page to allow you to give it a unique title. All cloned pages are left in draft mode.

There are many plugins out there which allow you to duplicate a post or page however this is the only one that allows you to duplicate a page and all its descendent pages in a single click.

Code is stored in this github repo.

The plugin has been developed for CNCF and The Linux Foundation.

Installation

  1. Upload the plugin files to the /wp-content/plugins/clone-page-tree directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Screenshots

  1. "Clone Page Tree" action.

    "Clone Page Tree" action.

Changelog

0.1.2

  • Enables action for all posts, pages, and CPTs

0.1.1

  • Fixes issue with missing backslashes in a cloned page

0.1.0

  • First release

Details

  • Version: 0.1.2
  • Active installations: 100
  • WordPress Version: 4.0
  • Tested up to: 5.6.14
  • PHP Version: 5.6.20

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars