https://github.com/cncf/clone-page-tree
π©βπ©βπ§βπ§ ππ²Wordpress plugin to duplicate a page and all of its subpages
https://github.com/cncf/clone-page-tree
Last synced: about 1 year ago
JSON representation
π©βπ©βπ§βπ§ ππ²Wordpress plugin to duplicate a page and all of its subpages
- Host: GitHub
- URL: https://github.com/cncf/clone-page-tree
- Owner: cncf
- License: gpl-2.0
- Created: 2019-06-03T11:31:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-16T02:37:02.000Z (over 5 years ago)
- Last Synced: 2025-04-10T18:42:51.499Z (about 1 year ago)
- Language: PHP
- Size: 42 KB
- Stars: 7
- Watchers: 7
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clone Page Tree
WordPress plugin that adds a "Clone Page Tree" action to the page 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](https://wordpress.org/plugins/search/duplicate/) 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.
This plugin used the page duplication script [here](https://www.hostinger.com/tutorials/how-to-clone-wordpress-page-post) as a starting point but then adds recursion over page children to clone the full tree.