| 开发者 | pierreferrolliet |
|---|---|
| 更新时间 | 2026年5月22日 20:28 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
[tidy_toc] for manual placementtidy-table-of-contents folder to /wp-content/plugins/By default H2 and H3. You can configure the minimum and maximum heading depth in the settings.
Yes. Each post has a meta box where you can disable the TOC or override global settings.
Yes. The TOC is generated server-side from the rendered post content, so it works regardless of how the post was written.
No. The TOC output is cached per post and invalidated automatically when the post is updated.
Yes. Use the [tidy_toc] shortcode anywhere in your content, or disable auto-insertion in the settings.
box-sizing: border-box so its padding is included in the collapsed height (full collapse, no leftover band).rem fallback added in 1.0.4).rem so they track the theme's root font size while staying isolated from nested overrides.load_plugin_textdomain() call (handled by WordPress.org translation system since WP 4.6).