Linux 软件免费装
Banner图

Tidy Table of Contents

开发者 pierreferrolliet
更新时间 2026年5月22日 20:28
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

seo navigation headings table of contents toc

下载

1.0.7 1.0.8

详情介绍:

Tidy Table of Contents automatically generates a clean, accessible table of contents from your headings. It works out of the box with no configuration, and offers deep customization when you need it. Key features:

安装:

  1. Upload the tidy-table-of-contents folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. The TOC will appear automatically above the first H2 heading in your posts
  4. Configure global defaults under Settings → Tidy TOC

屏幕截图:

  • Settings page
  • Per-post meta box

升级注意事项:

1.0.7 Collapse now closes fully on every theme — replaced grid trick with max-height. 1.0.6 Collapse animation now closes fully — no more residual padding strip under the header. 1.0.5 TOC items now follow the theme's typography. The SOMMAIRE title is slightly larger for better hierarchy. 1.0.4 Fix: the toggle no longer adopts theme button styling, and TOC items keep a sensible size in sidebars and nav contexts. 1.0.3 New installs get "After first paragraph" as default insertion position. Font sizes now inherit from the active theme. 1.0.2 The free plugin no longer ships any code for premium-only features (sticky, custom theme, reading time). No user-facing change unless you were using the companion Pro add-on. 1.0.1 Code cleanup and security hardening. No user-facing changes.

常见问题:

Which heading levels are included?

By default H2 and H3. You can configure the minimum and maximum heading depth in the settings.

Can I disable the TOC for a specific post?

Yes. Each post has a meta box where you can disable the TOC or override global settings.

Does it work with the block editor?

Yes. The TOC is generated server-side from the rendered post content, so it works regardless of how the post was written.

Does it slow down my site?

No. The TOC output is cached per post and invalidated automatically when the post is updated.

Can I place the TOC manually?

Yes. Use the [tidy_toc] shortcode anywhere in your content, or disable auto-insertion in the settings.

更新日志:

1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0