Smart Table of Contents is the ultimate lightweight, SEO-friendly Table of Contents plugin for WordPress. It automatically generates a beautiful, clickable TOC from your post and page headings — helping visitors navigate long-form content effortlessly while boosting your site’s SEO with structured, crawlable anchor links.
🚀 Upgrade to Smart TOC Pro for advanced sticky/floating controls, advanced mobile behavior, and more!
🎯 Perfect For
- Bloggers with long-form content
- Documentation & knowledge base sites
- Tutorial and how-to websites
- News and magazine publishers
- Educational platforms & online courses
- Any WordPress site with lengthy articles
✨ Free Features
- Automatic TOC Generation – Instantly creates a table of contents from your H2-H6 headings
- Smooth Scrolling – Elegant smooth scroll animation when clicking TOC links
- Collapsible TOC – Visitors can expand/collapse the table of contents
- Active Heading Highlight – Highlights the current section as users scroll
- Shortcode Support – Use
[aniksmta_toc] to place TOC anywhere in your content
- Customizable Heading Levels – Choose which headings to include (H2-H6)
- Counter Formats – Choose decimal numbers, Roman numerals, hierarchical (1.1.1), or no counters
- Collapsible Sections – Add toggle buttons to expand and collapse nested headings
- Theme Presets – Light, Dark, and Minimal theme presets plus default style
- Theme Color Picker – Match your site’s branding with custom accent color
- Toggle Icon Styles – Choose between Chevron (Default) and Plus/Minus icons
- Auto Dark Mode – Automatically switch to dark theme if the user’s device is in dark mode
- SEO Schema Markup – SiteNavigation JSON-LD structured data for search engines
- SEO Optimized – Clean HTML markup with proper anchor links for search engines
- Ultra Lightweight – Under 15KB, zero jQuery dependency
- Translation Ready – Fully internationalized with POT file included
- Per-Post Control – Enable/disable TOC for individual posts or pages
- Per-Post Heading Override – Override global heading levels on individual posts
- Global Heading Exclusion – Exclude headings by text across the entire site
- Exclude Headings by CSS Class – Skip specific headings using the
no-toc class
- Page Exclusion Rules – Easily hide TOC on Home, Archive, Search, and 404 pages
- Multiple Positions – Before content, after first paragraph, or manual placement
- Sticky TOC (Basic) – Keep TOC visible while reading with simple sticky behavior
- Floating Desktop TOC (Basic) – Persistent TOC button and panel on the side of the screen for desktop users
- Mobile TOC Modal (Basic) – Mobile button opens TOC in a compact modal panel
- Copy Anchor Links – One-click copy for any TOC item link
- Reading Progress Bar (Basic) – Top progress indicator for long-form content
- Estimated Reading Time (Basic) – Display how long it takes to read the article
- Back to Top Button (Basic) – Quick scroll-to-top functionality
- Dynamic Content Refresh – Auto-initialize TOC behavior for content added after page load
- Lazy-load TOC Init – Delayed initialization until TOC enters viewport
- Gutenberg Block (Basic) – Insert TOC from the block editor with title and collapsed controls
- Sidebar Widget (Basic) – Display TOC in widget areas with title and collapsed controls
- Dashboard Widget – Quick TOC stats and access from your WordPress dashboard
Take your table of contents to the next level with Smart TOC Pro:
- 📌 Advanced Sticky/Floating TOC – Rich sticky modes, floating panel layouts, offsets, and behavior controls
- 📊 Advanced Progress Modes – Extra progress variants and panel-integrated progress experiences
- ⏱️ Advanced Reading Time Controls – Custom WPM speed, advanced formatting, and placement options
- ⬆️ Advanced Back to Top Button – Icon packs, shapes, colors, visibility controls, and circular progress ring
- ⌨️ Keyboard Navigation – Navigate TOC with keyboard shortcuts for better accessibility
- 💻 Custom CSS Support – Full styling control with custom CSS
- 📱 Advanced Mobile Options – Themed modal styles, gestures, and advanced trigger controls
- 🔢 Advanced Numbering Controls – Color overrides, prefixes, and suffixes for numbers
- 🗂️ Fine-Grained Collapsible Controls – Set default expanded/collapsed states per nested section
- 🎨 10+ Premium Theme Presets – Glassmorphism, gradient, and modern UI styles
- ⚙️ Advanced Display Conditions – Granular URL, category, tag, and author exclusion logic
- 📦 Settings Export/Import – Easily migrate settings between sites
- 🧱 Advanced Gutenberg Block Controls – More layout and behavior customization
- 📦 Advanced Sidebar Widget Controls – Rich display and behavior options
- 🔒 Priority Support – Fast, dedicated customer support
👉 Get Smart TOC Pro Now
How It Works
- Install and activate the plugin
- Configure settings under Settings → Smart TOC
- The TOC automatically appears on your posts and pages
- Or use
[aniksmta_toc] shortcode for manual placement
Shortcode Usage
Basic usage:
[aniksmta_toc]
With custom title:
[aniksmta_toc title=”In This Article”]
Collapsed by default:
[aniksmta_toc collapsed=”true”]
🐛 Bug Reports
Found a bug? Please report it on our GitHub Issues page.
💬 Support & Help
🗺️ Roadmap
We’re constantly improving Smart TOC! Upcoming features:
- Additional shortcode attributes
- Advanced styling options
- Performance optimizations
- More counter format options
Have a feature request? Submit it on GitHub!