Skip to content

dhanendran/term-taxonomy-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Term Taxonomy Converter ===

Contributors: dhanendran Tags: categories and tags converter, taxonomy converter, copy taxonomies, duplicate taxonomies, terms Requires at least: 5.0 Requires PHP: 7.4 Tested up to: 7.0 Stable tag: 1.4.0 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html

Copy or convert terms from one taxonomy to another while keeping their post associations.

== Description ==

Initial version of this plugin is a fork of https://wordpress.org/plugins/taxonomy-converter/.

Copy or convert terms between taxonomies.

Taxonomies include categories, tags and any other custom taxonomies that may be present with your active theme and plugins.

This plugin, allows you to copy (duplicate) or convert (move) terms from one taxonomy to another or to multiple taxonomies, while maintaining associated posts.

= Large sites =

Conversions run in batches over AJAX with a progress bar, so large term sets no longer time out. A Preview (dry run) button reports exactly what will happen — how many terms would be created, how many posts re-tagged, and how many source terms deleted — before you commit.

= WP-CLI =

For scripted or very large migrations, use the command line:

# Preview copying two categories into post_tag
wp term-tax-converter convert 12 15 --from=category --to=post_tag --dry-run

# Convert (move) all categories into a custom taxonomy
wp term-tax-converter convert --all --from=category --to=topic --mode=convert

Run wp help term-tax-converter convert for all options.

== Installation ==

  1. Upload the term-taxonomy-converter folder to the /wp-content/plugins/ directory, or search for Term Taxonomy Converter on the Plugins > Add New admin page and Install Now.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the Tools -> Term Taxonomy Converter

== Changelog ==

= 1.4.0 =

  • [Feature] WP-CLI command wp term-tax-converter convert for scripted/large migrations, with --from, --to, --mode, --all and --dry-run.
  • [Feature] Admin conversions now run in AJAX batches with a progress bar, so large term sets no longer hit PHP timeouts.
  • [Feature] "Preview (dry run)" button reports how many terms would be created, posts re-tagged, and source terms deleted before committing.
  • [Improvement] Conversion logic refactored into a shared engine used by the UI, AJAX and CLI.
  • [Fix] When converting a term to multiple taxonomies, the source term is now deleted once after all targets are processed (previously it could be removed before later targets were handled).

= 1.3.0 =

  • Enhanced security with proper nonce verification and input sanitization
  • Improved code quality following WordPress coding standards
  • Added comprehensive error handling with user-friendly messages
  • Updated to require WordPress 5.0+ and PHP 7.4+

= 1.2.1 =

  • Bug fixes and improvements

= 1.1 =

  • Updated copyright information

= 1.0 =

  • Initial plugin

About

Copy or convert terms between taxonomies. This plugin, allows you to copy (duplicate) or convert (move) terms from one taxonomy to another or to multiple taxonomies, while maintaining associated posts.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages