Linux 软件免费装

Supplyist TOC Block

开发者 suppress
更新时间 2026年3月10日 14:22
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

navigation gutenberg block headings table of contents toc

下载

1.0.0

详情介绍:

Add the Table of Contents Block anywhere in your Gutenberg editor. It scans H2–H6 headings in the post content and builds a nested, clickable table of contents. Links automatically work by adding IDs to headings. No configuration needed. Works on single posts and pages (not archives or category listings). Example: Key Features Why use this plugin?

安装:

  1. Upload the plugin files to /wp-content/plugins/supplyist-toc-block/, or install directly from the WordPress plugin directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Add the "Custom Table of Contents" block anywhere in your editor.

屏幕截图:

  • Example of a generated "Table of Contents".

升级注意事项:

1.0.0 Initial stable release.

常见问题:

How does "Supplyist TOC Block" generate a Table of Contents?

The plugin scans your headings and builds a hierarchical, scroll-linked table of contents on the front end.

Does this conflict with SEO plugins?

If you already use SEO plugins, those may also output Table of Contents. You should avoid duplication.

How does "heading ID insertion" work?

  1. Scans the content after it is loaded.
  2. Detects all H2, H3, H4, H5, and H6 headings.
  3. Generates a slug (URL-friendly string).
  4. Inserts it as the heading’s id="" attribute.

更新日志:

1.0.0