A WordPress plugin for duplicating posts, pages, and custom post types with their meta data.
- 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
- 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
To create a distribution zip file:
./build.shThis 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
tva-duplicate-pro.php: Main plugin fileincludes/: PHP classes and functionsassets/: CSS, JS, and imagesarchive/: Archived releasesdist/: Distribution files
- Initial tracked version
- Added WooCommerce product support
- Improved meta data handling