=== R2K Terms Copier === Contributors: systemsrtk Tags: taxonomy, terms, duplicate, copy, clone Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.0.2 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Duplicate taxonomy terms including all meta data and relationships with a single click. == Description == R2K Terms Copier is a simple and powerful WordPress plugin that allows you to duplicate any taxonomy term (categories, tags, or custom taxonomies) along with all associated meta data without relationships. = Key Features = * **One-Click Duplication**: Simply hover over any term in the taxonomy list and click "Duplicate" * **Complete Meta Data Copy**: All term meta data is automatically copied to the duplicate * **Preserves Relationships**: Parent-child term relationships are maintained * **Smart Naming**: Automatically appends "(Copy)" to duplicated terms, with automatic numbering if duplicates exist * **Works with All Taxonomies**: Compatible with categories, tags, and any custom taxonomies * **Security First**: Includes nonce verification and capability checks * **User-Friendly**: Clear success and error messages = How It Works = 1. Navigate to any taxonomy term list (e.g., Posts → Categories) 2. Hover over the term you want to duplicate 3. Click the "Duplicate" link that appears in the row actions 4. The term is instantly duplicated with all its meta data = Use Cases = * Duplicate complex category structures with custom meta fields * Create template terms for reuse * Quickly create variations of existing terms * Copy terms with ACF or other custom field data * Duplicate hierarchical term structures = Developer Hooks = The plugin provides a filter for developers to customize behavior: * `r2k_terms_copier_skip_meta_keys` - Filter to exclude specific meta keys from duplication == Installation == = Automatic Installation = 1. Go to Plugins → Add New in your WordPress admin 2. Search for "R2K Terms Copier" 3. Click "Install Now" and then "Activate" = Manual Installation = 1. Upload the `r2k-terms-copier` folder to `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. No configuration needed - it works immediately! == Frequently Asked Questions == = Does this work with custom taxonomies? = Yes! R2K Terms Copier works with all taxonomies including categories, tags, and any custom taxonomies registered in WordPress. = Will child terms be duplicated? = Currently, only the selected term is duplicated. Child terms are not automatically duplicated, but the parent-child relationship is preserved if the original term had a parent. = What meta data is copied? = All term meta data is copied by default. You can use the `r2k_terms_copier_skip_meta_keys` filter to exclude specific meta keys if needed. = What permissions are required? = Users need the `manage_categories` capability to duplicate terms. = Can I customize the duplicate name? = The plugin automatically appends "(Copy)" to the term name. If a term with that name already exists, it will add a number (e.g., "Term (Copy) 1"). == Screenshots == 1. The "Duplicate" link appears when hovering over any term in the taxonomy list 2. Success message after duplicating a term == Changelog == = 1.0.0 = * Initial release * One-click term duplication * Complete meta data copying * Parent-child relationship preservation * Smart naming with automatic numbering * Security features (nonce verification, capability checks) * Admin notices for user feedback = 1.0.1 = * Support Polylang * Redirect to edit term screen after copy = 1.0.2 = * Copy Yoast taxonomy SEO settings (including "noindex") when duplicating terms == Upgrade Notice == = 1.0.2 = Improves compatibility with Yoast SEO by copying taxonomy-level SEO settings (including noindex) to duplicated terms. = 1.0.0 = Initial release of R2K Terms Copier. Install and activate to start duplicating terms with all their meta data. == Developer Information == = Filters = * `r2k_terms_copier_skip_meta_keys` - Array of meta keys to skip during duplication Example usage: `add_filter( 'r2k_terms_copier_skip_meta_keys', function( $keys ) { $keys[] = 'my_custom_key'; return $keys; } );` == Support == For support, feature requests, or bug reports, please visit the plugin support page or contact the developer.