Taxonomy Switcher

描述

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.

螢幕截圖

  • Admin page
  • Live-searching for a parent term

安裝

  1. Backup!
  2. Upload ‘taxonomy-switcher’ to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Navigate to the ‘Taxonomy Switcher’ admin page. You’ll find the menu item under the ‘Tools’ menu item on the left.
  5. Select your “From”, and “To” Taxonomies.
  6. 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. OR b) Add a comma-separated list of term ids to switch.
  7. Switch them!

評價

2023年5月23日
Work perfectly with a multitude of heavily hierarchical Parent / Child categories. Thank you @webdevstudios @sc0ttkclark @jtsternberg
2022年10月22日
Does exactly what it claims to do and works flawlessly. Thanks!!
2020年12月22日
This worked exactly as it should’ve, but I wish there was a copy option – not just move. That said, I had a new custom post type and needed to move the posts from Posts into the new CPT and a new custom Taxonomy and maintain the categories in the new post and new Taxonomy and this worked perfectly to move the categories and keep them assigned to the correct post. I did want to keep the categories also in the Posts, but that’s acceptable to me to re-create them since I didn’t have to go reassign the categories manually to each post. Thanks!
2020年9月30日
Does the job as expected. Converted my wordpress categories to anew custom tax. Thank you very much 🙏🏼
閱讀全部21個評價

貢獻者及開發者

“Taxonomy Switcher” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Taxonomy Switcher 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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

  • Release