Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Term Management Tools

by scribu

Version: 2.0.1

Download
Description

Please note this plugin requires at least PHP 7.1.

If you need to reorganize your tags and categories, this plugin will make it easier for you. It adds three new options to the Bulk Actions dropdown on term management pages:

  • Merge – combine two or more terms into one
  • Set Parent – set the parent for one or more terms (for hierarchical taxonomies)
  • Change Taxonomy – convert terms from one taxonomy to another

It works with tags, categories and custom taxonomies.

Usage

  1. Go to the taxonomy page containing terms you want to modify. For example, for categories go to WP-Admin Posts Categories.
  2. Select the terms you want to reorganize
  3. Find the Bulk Actions dropdown, and select the task you’d like done.
  4. Disco.

WPML

WPML-translated terms are partially supported. Currently only the “Change Taxonomy” task is WPML-aware. If a term with translations is moved to a new taxonomy, its translations are moved as well, and the translation relationships are preserved.

Currently only the “Change Taxonomy” task is WPML-aware

Work on the WPML component was sponsored by the Rainforest Alliance.

Support

Limited support is handled in the forum created for this purpose (see the support tab on wp.org).

Find a problem? Fixes can be submitted on Github.

Upgrading from a previous version

Use the upgrade link in the Dashboard (Dashboard Updates) to upgrade this plugin.

Notes

Initial version of this plugin was by scribu, with contributions from others. See full code history on Github.

Either use the WordPress Plugin Installer (Dashboard Plugins Add New, then search for “term management tools”), or manually as follows:

  1. Upload the entire wp-term-management-tools folder to your /wp-content/plugins/ directory
  2. DO NOT change the name of the wp-term-management-tools folder
  3. Activate the plugin through the ‘Plugins’ menu in the WordPress Dashboard

Note for WordPress Multisite users:

  • Install the plugin in your /plugins/ directory (do not install in the /mu-plugins/ directory).
  • In order for this plugin to be visible to Site Admins, the plugin has to be activated for each blog by the Network Admin.
  1. Set Parent option. In this case, the term "New EN" will be set as a child of "Parent One EN"

    Set Parent option. In this case, the term "New EN" will be set as a child of "Parent One EN"

  2. Merge option. Here, the two selected terms will be merged into a new term named "Merged." In addition, because both source terms share the same parent term ("Parent One EN"), the new term will also have "Parent One EN" as its parent term.

    Merge option. Here, the two selected terms will be merged into a new term named "Merged." In addition, because both source terms share the same parent term ("Parent One EN"), the new term will also have "Parent One EN" as its parent term.

  3. Change Taxonomy option. Here, the "Parent One EN" category will be sent to the custom taxonomy "Hierarchical" (which I added for the sake of testing). A few other things to note here. First, the two child terms will also be moved and, because the target taxonomy is also hierarchical the parent-child relationships will be preserved. Second, if there are any WPML translations of these terms, they will also be moved and the translations maintained.

    Change Taxonomy option. Here, the "Parent One EN" category will be sent to the custom taxonomy "Hierarchical" (which I added for the sake of testing). A few other things to note here. First, the two child terms will also be moved and, because the target taxonomy is also hierarchical the parent-child relationships will be preserved. Second, if there are any WPML translations of these terms, they will also be moved and the translations maintained.

Very Helpful

By Cory Lamle (cory@lamle.org) on August 10, 2023

Excellent work! It saved me hours from having to write a bunch of SQL scripts!

Essential

By Sunny (frdmsun) on June 2, 2023

Essential for when you need to move terms around

Excellent Plugin! It saved me!

By potel on September 14, 2022

I was looking for a plugin for hours that had exactly this functionality, to be able to organize the categories of a third-party project, I was even afraid it wouldn't work because it was very old but it worked perfectly! Thanks for creating something like this!! You saved me!

Works Good

By Андрей (icedogas) on December 31, 2021

Thx for good plugin!

Super

By nielsmyname on June 8, 2021

Super plugin! Works great. Thank you so much!

Very useful

By Madovsky on June 7, 2021

Install this plugin if you have complex hierarchy of product categories (more than 20).

It simply works

By strarsis on May 18, 2021

Incredibly useful and well maintained plugin that has always worked flawlessly for many years now! And it works with WooCommerce product attribute taxonomy terms!

Works great!

By jodzeee on March 27, 2021

I just needed to change a couple of categories to tags, but I remembered I had been looking to use this plugin for something else awhile ago. I decided to give it a try and it worked great.

Awesome plugin

By Bruno Apr (outpacer) on July 26, 2020

Many thanks to the plugin's Author! This plugin saved hours. It worked well for me with WordPress 5.4

Can't live without it

By Mirror Spirits (MirrorSpirits) on March 15, 2020

A small but vital tool that allows you to change taxonomies and combine taxonomies in the "categories" and "tags" pages. It should be a core feature. The plugin is so simple you TRULY don't need support for it, if you manage to blog without supervision in general. :p

2.0.1

  • FIX: a WPML translation that only exists in a single site non-primary language was not being migrated correctly

2.0.0

  • under new management by @theMikeD 🙂
  • full code refactoring
  • inline documentation
  • user documentation
  • clean phpcs using WordPress-Extra
  • unit/integration tests, all of which pass
  • term cache clearing now actually works
  • for the taxonomy change option, only public taxonomies are listed
  • for the taxonomy change option, WPML-translated terms are also moved
  • for the term merge option, if all terms to be merged have the same parent term, the merged term will also have that parent term.
  • for the term parent option, if one of the supplied terms is also the term selected to be the parent, no terms are adjusted.
  • new filter term_management_tools_changed_taxonomy__terms_as_supplied
  • new filter term_management_tools_changed_taxonomy__terms_and_child_terms
  • new filter term_management_tools_changed_taxonomy__reset_parent_for

1.1.4

  • improved taxonomy cache cleaning. props Mustafa Uysal
  • added ‘term_management_tools_term_changed_taxonomy’ action hook. props Daniel Bachhuber
  • fixed redirection for taxonomies attached to custom post types. props Thomas Bartels
  • added Japanese translation. props mt8

1.1.3

  • preserve term hierarchy when switching taxonomies. props Chris Caller

1.1.2

  • added ‘term_management_tools_term_merged’ action hook. props Amit Gupta

1.1.1

  • fixed error notices
  • added Persian translation

1.1

  • added ‘Change taxonomy’ action

1.0

  • Version:Version: 2.0.1
  • Active installs:Active installs: 10K
  • Last updated:Last updated: 10-12-2020
  • Requires:Requires: 4.2
  • Tested:Tested: 5.6.14
Average rating:4.9 out of 5 stars.
  • Number of ratings: 71 ratings
  • Number of ratings: 3 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 1 ratings
Back to top