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