Taxonomy Switcher Plugin
Switch the taxonomy for all terms or only child terms of a specified parent term.
This plugin allows you to select your “From”, and “To” Taxonomies, to convert all terms. Optionally select a parent term to limit terms to switch. Typing term names will do a live search of terms with the name you are typing AND possess child terms.
Plugin also has built-in support for WP-CLI. In the command line, type in wp taxonomy-switcher
for instructions.
Plugin is on GitHub. Pull Requests and Forks welcome.
Notes
Please keep in mind, if parent isn’t set, or you don’t specify a comma-separated list of term ids to migrate, it will migrate all terms for that taxonomy to the new taxonomy.
Pluginize was launched in 2016 by WebDevStudios to promote, support, and house all of their WordPress products. Pluginize is not only creating new products for WordPress all the time, but also provides ongoing support and development for WordPress community favorites like CPTUI, CMB2, and more.
Installation
- Backup!
- Upload ‘taxonomy-switcher’ to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to the ‘Taxonomy Switcher’ admin page. You’ll find the menu item under the ‘Tools’ menu item on the left.
- Select your “From”, and “To” Taxonomies.
- a) Optionally select a parent term to limit terms to switch. Typing term names will do a live search of terms with the name you are typing AND possess child terms. ORb) Add a comma-separated list of term ids to switch.
- Switch them!
Screenshots
Admin page
Live-searching for a parent term
Changelog
1.0.7
- Updated: Confirmed WP 6.5 compatibility.
1.0.6
- Updated: Confirmed WP 6.4 compatibility.
- Updated: Moved capability back to manage_options to sync with options page.
- Updated: Clear caches after conversion.
- Fixed: PHP8 deprecation notices.
1.0.5
- Updated: Confirmed WP 6.2.1 compatibility.
1.0.4
- Updated: changed required capability to manage_categories
1.0.3
- Confirmed compatibility with WordPress 5.4.0
1.0.2
- Update for xss vulnerability, https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage
1.0.1
- Add ability to switch comma-separated list of term IDs.
1.0.0