MoCursor Smart TOC

A powerful, lightweight Gutenberg block that automatically generates a linked, navigable table of contents from your post headings. Zero configuration. Just works.

Version 1.0.1 · GPLv2 · Works with WordPress 6.4+

Active Installations

Downloads

No -Star Rating

Why Choose MoCursor Smart TOC?

Built for simplicity, performance, and accessibility. No bloat, no lock-in, no tracking.

Zero Configuration

Drop the block into your content and it works immediately. No setup wizards, no complex settings pages.

🧱

100% Gutenberg-Native

Built as a real Gutenberg block with full inspector controls, live preview, and design system integration.

🪶

Incredibly Lightweight

No JavaScript frameworks. Pure vanilla JS for interactivity. Minimal footprint, maximum performance.

Accessible by Default

Proper ARIA attributes, keyboard navigation, semantic HTML, and focus management baked in.

🎨

Theme-Aware Design

Uses WordPress design tokens and CSS custom properties. Inherits your theme’s colors, fonts, and spacing.

🔒

Privacy-First

No external requests, no tracking, no analytics, no cookies. Fully GDPR compliant out of the box.

All the Features You Need

Packed with smart defaults and deep customization when you need it.

  • ✅ Automatic H2, H3, H4 detection
  • ✅ Heading level filtering
  • ✅ Exclude specific headings by text
  • ✅ Skip first N headings
  • ✅ Three numbering styles (None, Decimal, Nested)
  • ✅ Collapsible with configurable default
  • ✅ Smooth scrolling with offset control
  • ✅ Active heading highlight (IntersectionObserver)
  • ✅ Back to Top link
  • ✅ Sticky mode
  • ✅ Live editor preview
  • ✅ Shortcode support with full attributes
  • ✅ Full block editor design controls
  • ✅ Colors, typography, spacing, borders
  • ✅ Dynamic server-side rendering
  • ✅ Semantic HTML and ARIA attributes
  • ✅ Keyboard navigation support
  • ✅ Zero external dependencies

How It Works

Three simple steps. No configuration needed.

1

Upload the plugin through your WordPress dashboard or install directly from the plugin repository.

2

Open any post or page, click the block inserter (+), search for “Table of Contents”, and add it.

3

The TOC renders automatically with smooth scrolling, active tracking, and a responsive, accessible design.

Ideal Use Cases

From blogs to documentation to legal pages — it fits everywhere.

📝

Long-Form Blog Posts

Navigate 2,000+ word articles with ease.

📚

Documentation & Knowledge Bases

Technical docs, how-to guides, and reference pages.

🎓

Online Courses & Tutorials

Give learners a clear roadmap of every section.

⚖️

Legal & Policy Pages

Terms of service, privacy policies, and compliance docs.

🍳

Recipe & Travel Blogs

Readers jump to the section they care about.

Accessibility-Focused Sites

Reliable navigation for keyboard and screen reader users.

Frequently Asked Questions

Does the TOC update automatically when I change headings?

Yes. The block is dynamically rendered on the server every time the page loads, so it always reflects the latest content.

Which heading levels are supported?

H2, H3, and H4. You can toggle each level on or off independently in the block settings.

Can I exclude specific headings from the TOC?

Yes. In the block settings or via the shortcode exclude attribute, provide a comma-separated list of heading texts to omit.

What happens if there are no headings?

The TOC block simply doesn’t render. No empty box, no broken layout.

Can I use the shortcode in the classic editor?

Yes. The [easy_toc] shortcode works in the classic editor, widgets, and theme templates.

Does the plugin make any external requests?

No. Everything runs entirely on your server. Fully GDPR and privacy compliant.

Was this plugin built with AI?

Development was supported by Telex AI by Automattic. The plugin is fully human-reviewed, tested, and maintained.

Ready to Improve Your Content Navigation?

Download for free, install in seconds, and give your readers the navigation they deserve.

Table of Contents by Mocursor · Version 1.0.1 · GPLv2 or later