跳到内容

oakenbit Term Tree Creator

v1.0.0

oakenbit · 2026年10月14日 上架

Paste an indented outline and create a whole category tree at once, or a list of tags. Preview first, undo with one click.

正在使用
10 以下
评分
暂无
累计下载
173
最近更新
2026年10月14日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

截图

Paste an outline, choose the taxonomy and the parent.
Paste an outline, choose the taxonomy and the parent.
The preview shows the tree, the slugs and which terms already exist.
The preview shows the tree, the slugs and which terms already exist.
After creating: a list of the new terms with edit links and an Undo button.
After creating: a list of the new terms with edit links and an Undo button.
The resulting category tree on the Categories screen.
The resulting category tree on the Categories screen.

A new blog, shop or knowledge base often needs a category structure before the first post: topics, subtopics, a dozen tags. Adding them one by one on the Categories screen, then picking the right parent for each, takes a long time. With oakenbit Term Tree Creator it takes one step.

Type or paste an outline, one name per line. Indent a line to make it a child of the line above. The plugin shows you a preview of the tree, then creates every term with the right parent and slug.

News
    Company news
    Product updates
Guides
    Getting started | getting-started
    Advanced
Reviews

What it does

  • Nested categories in one go. Any depth. Indent with spaces or tabs, or use leading dashes (“-“, “–“) if you prefer.
  • Preview before anything is saved. A table shows every name, its level, its slug and whether it is new or already exists.
  • No duplicates. Terms that already exist with the same name and parent are reused, so you can run an outline again later to add missing terms, or add children under an existing category.
  • Custom slugs. Write Name | my-slug to set the slug.
  • Start under any term. Put the whole outline under an existing parent category.
  • Any taxonomy. Categories, tags, and the taxonomies of other plugins and themes. Hierarchical taxonomies keep the tree; flat ones such as tags get a plain list.
  • One-click undo. Every run is logged. “Undo” deletes exactly the terms that run created, and only those that no content uses yet.
  • Pasting from documents works. List bullets (-, *, •) and non-breaking spaces from word processors are handled.

Built to stay out of the way

  • No settings page, no ads, no upsell notices.
  • No external requests, no tracking, no cookies. The plugin never contacts any server.
  • Only users who can manage categories see the screen, and the plugin checks the right capability for every taxonomy, parent and term.
  • Uninstalling removes the plugin’s own data (run log, preferences, markers). The terms you created stay.

How to use

  1. Go to Posts > Terms from Outline.
  2. Paste your outline. Choose the taxonomy, the parent and how nesting is shown.
  3. Click Preview and check the tree.
  4. Click Create. You get a list of the new terms with edit links and an Undo button.

For developers

  • Filter oakenbit_term_tree_creator_term_args to change the arguments passed to wp_insert_term() for each row (for example to add a description).
  • Action oakenbit_term_tree_creator_term_created fires after each term is created.
  • Filter oakenbit_term_tree_creator_taxonomies changes the offered taxonomies.
  • Filter oakenbit_term_tree_creator_max_items changes the per-run limit (default 500).
  • Action oakenbit_term_tree_creator_run_created fires once per run with the IDs of all created terms.
  • Action oakenbit_term_tree_creator_form_options lets you add fields to the options column.

Privacy

The plugin does not collect, send or store personal data outside your site. It stores, in your own database, a log of the last 20 runs (date, user ID, taxonomy, IDs of created terms) so runs can be undone, and each user’s last used options.

About this plugin

oakenbit Term Tree Creator is made by Bernhard Siegl – oakenbit (https://oakenbit.com/). Legal notice: https://oakenbit.com/legal-notice/. Code produced by an AI system operated by Bernhard Siegl, tested automatically and reviewed by hand by Bernhard Siegl.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums