Smart Table of Contents

Automatic, accessible table of contents from your headings.

Features

Auto-generated from headings
Smooth scroll navigation
Collapsible/expandable
Configurable heading levels (H2-H6)
Gutenberg block + auto-insert option
Numbered or bulleted lists
Accessible (ARIA landmarks)
Zero frontend dependencies

How it works

Generates a clean table of contents from your post headings. Smooth scroll, collapsible, customizable, and fully accessible.

Automatic Generation

Scans your post content for headings and builds a structured table of contents automatically.

Smooth Scroll

Clicking a TOC item smoothly scrolls to the heading. Clean anchor URLs for sharing.

Collapsible

Readers can collapse the TOC to save space. State is remembered per session.

Block or Auto-Insert

Use the Gutenberg block for precise placement, or auto-insert before the first heading.

Heading Level Control

Choose which heading levels to include (H2 only, H2-H3, H2-H4, etc.).

Accessible

Proper ARIA roles, keyboard navigation, and screen reader support built in.

See it in action

Screenshot coming soon
WordPress 6.0+ PHP 8.4+ Gutenberg native GPL v2+

Get Smart Table of Contents for free

No signup required. Just install and go.