| 开发者 | promasterweb |
|---|---|
| 更新时间 | 2026年2月24日 09:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/Yes. It works with Gutenberg, the Classic Editor, and any editor that outputs standard HTML content.
It depends on how the page builder outputs content. If the builder uses the standard the_content filter and renders H2 tags in the post body, the plugin will work. Some builders bypass this filter, in which case the TOC may not appear.
No. The plugin is intentionally limited to standard WordPress posts (blog posts). This keeps it lightweight and focused.
H2 is considered the correct heading level for main sections in a blog post (H1 being the post title). Using H2 for your section titles is a widely recommended SEO practice, and limiting the TOC to H2 keeps the structure clean and relevant.
Not yet. The TOC automatically appears on any post with at least 2 H2 headings. A per-post disable option may be added in a future version.
No. The plugin is extremely lightweight. It processes content only on single post pages, and the CSS file is enqueued only where needed. There is no database query, no JavaScript, and no external resource loaded.
It may if another TOC plugin is also active and modifying the same content. We recommend using only one table of contents plugin at a time.
Yes. The plugin support others languages.
Yes. The table of contents is wrapped in a <nav> element with an aria-label="Table of Contents" attribute for screen reader compatibility.