tva Duplicate Pro
A WordPress plugin for duplicating posts, pages, and custom post types with their meta data
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/91369673/tva-duplicate-pro/archive/refs/heads/main.zipA WordPress plugin for duplicating posts, pages, and custom post types with their meta data.
Features
- One-click duplication of posts, pages, and WooCommerce products
- Preserves all meta data during duplication
- Special handling for WooCommerce products (images, gallery, SKU)
- Automatically creates a draft copy for review
Installation
- Upload the plugin files to
/wp-content/plugins/tva-duplicate-prodirectory - Activate the plugin through the 'Plugins' menu in WordPress
- Use the 'Duplicate with tva.sg' link under each post/page
Development
Building the Plugin
To create a distribution zip file:
./build.sh
This will:
- Create a clean build with only the necessary files
- Generate a versioned zip file in the
distdirectory - Save a copy of the zip to the
archive/{version}directory
Repository Structure
tva-duplicate-pro.php: Main plugin fileincludes/: PHP classes and functionsassets/: CSS, JS, and imagesarchive/: Archived releasesdist/: Distribution files
Version History
2.1 (Current)
- Initial tracked version
- Added WooCommerce product support
- Improved meta data handling