Frequently Asked Questions
Answers to common questions about Tidy Table of Contents.
Which heading levels are included in the TOC?
By default, Tidy Table of Contents includes H2 and H3 headings. You can configure this in Settings > Tidy TOC to include any combination of heading levels from H2 through H6. This lets you control the depth of your table of contents based on your content structure.
Can I disable the TOC on specific posts?
Yes. When editing a post, use the Tidy TOC meta box in the editor sidebar to disable the table of contents for that specific post. This is useful for short posts or announcements where a TOC is not needed.
Does it work with the block editor?
Yes. Tidy Table of Contents provides a Gutenberg block that you can place anywhere in the editor. The block uses server-side rendering (SSR) to show a live preview of the TOC. The automatic insertion also works seamlessly with block editor content.
Will Tidy Table of Contents slow down my site?
No. The TOC HTML is cached per post, so it does not need to be regenerated on every page load. The plugin adds minimal CSS and no JavaScript dependencies beyond a small smooth-scroll script. The performance impact is negligible.
Can I place the TOC manually instead of using auto-insertion?
Yes. Disable auto-insertion in the settings and use the [smart_toc] shortcode anywhere in your content to render the TOC at that exact position. You can also use the Gutenberg block for manual placement in the block editor.
Can I customize the TOC styling?
Yes. Tidy Table of Contents uses clean, semantic HTML with well-defined CSS classes. You can override the default styles in your theme stylesheet. The plugin applies minimal styling so it inherits your theme typography and colors naturally.
Does it support nested headings?
Yes. When you include multiple heading levels (e.g., H2 and H3), the TOC renders them as a nested list structure. H3 headings appear indented under their parent H2, creating a clear visual hierarchy that mirrors your content structure.
What is the minimum number of headings required?
By default, a post needs at least 3 headings before a TOC is generated. You can change this threshold in Settings > Tidy TOC. Setting it to 2 means even short posts with two headings will get a TOC, while a higher number keeps the TOC for longer, well-structured content only.