WPForgeHub
Micro Tools & Enterprise AI

ForgeHub Auto TOC

$0.00 – $129.00

Automatic H2-H4 Table of Contents with before-first-H2 auto-insert,

shortcode, smooth scroll, WCAG 2.1 AA collapsible UI—plus Pro sticky sidebar TOC, scroll-spy, reading progress bar, custom post types, and hierarchical themes.

100% Free & Open Source • GPLv2+

Download Free — No Account Required

Full core functionality with zero artificial limits or nags. Download directly from GitHub Releases or WordPress.org.

Description

Boost Long-Form SEO, Jump-Link Sitelinks & Reader Engagement With an Automatic Table of Contents

Problem: Long-form guides and tutorials without a clear Table of Contents lose impatient readers and miss out on Google jump-link sitelinks. Bloated TOC plugins inject heavy JavaScript frameworks, break keyboard accessibility, or clutter your dashboard with upgrade nags.

Solution: ForgeHub Auto TOC automatically parses H2–H4 headings, generates unique semantic anchor IDs, and inserts a clean, WCAG 2.1 AA collapsible Table of Contents right before the first H2 (or wherever you place [forgehub_toc]) using zero external dependencies.

Key Features

  • Automatic H2–H4 Heading Parser & Unique Anchors: Scans posts and pages automatically, preserves existing heading IDs, and deduplicates duplicate headings cleanly.
  • Flexible Placement & [forgehub_toc] Shortcode: Auto-insert before the first H2, at the top of content, after the first paragraph, or place manually anywhere with [forgehub_toc title="Quick Jump" levels="h2,h3"].
  • Smooth Scroll & Configurable Sticky-Header Offset: Jumps smoothly to target sections without hiding headings behind sticky site headers.
  • WCAG 2.1 AA Collapsible UI: Semantic <nav> landmark, aria-expanded / aria-controls toggle button, and high-contrast minimalist styling.
  • Zero-Bloat Conditional Asset Loading: Frontend CSS and vanilla JS load exclusively on singular posts/pages that actually render a TOC, with filemtime() cache busting.
  • Pro Sticky Sidebar TOC, Scroll-Spy, Reading Progress, CPTs & Themes: Float a persistent collapsible TOC panel on the left or right, highlight the active section with scroll-spy (aria-current="location"), show a viewport reading progress bar, enable Custom Post Types, and choose from 5 WCAG-checked themes (Hierarchical 1 / 1.1 / 1.1.1, Chevron, Left Accent, Dark Slate, Minimal).

Free vs Pro Comparison

Feature Free Pro
Automatic H2–H4 Table of Contents & Unique Anchor IDs Included Included
Auto-Insert (Before First H2, Top, After First Paragraph) Included Included
[forgehub_toc] Shortcode & Per-Post Disable Metabox Included Included
Smooth Scroll, Header Offset & WCAG 2.1 AA Collapsible Toggle Included Included
Conditional Local Assets & Zero-Nag Admin Settings Included Included
Sticky / Floating Sidebar TOC (Left or Right, Minimizable) — Included
Real-Time Scroll-Spy Active Heading Highlight — Included
Top or Bottom Viewport Reading Progress Bar — Included
Custom Post Types Support (Docs, Knowledge Base, Products, etc.) — Included
Hierarchical Numbering (1, 1.1, 1.1.1) & 5 Icon/Accent Themes — Included
Priority Support — Included

100% Local & Zero-Nag Architecture

Zero external APIs, zero third-party CDNs, zero jQuery dependency, and zero aggressive admin upgrade banners. Built for speed, Core Web Vitals, and WCAG 2.1 AA accessibility.

Frequently Asked Questions

Where does the Table of Contents appear by default?
By default, it inserts automatically right before the first H2 heading on posts with at least 2 headings. You can switch to top of content, after first paragraph, or manual shortcode placement anytime.

Does it work with the Block Editor (Gutenberg) and Classic Editor?
Yes. It parses rendered HTML headings cleanly in both Gutenberg and Classic Editor posts without altering your saved post content.

Will it load CSS/JS on pages without a Table of Contents?
No. Styles and scripts are conditionally enqueued only when a post or page actually displays a TOC.

Can I disable the TOC on specific posts?
Yes. Every post and page includes a lightweight per-post sidebar metabox checkbox to disable auto-insertion for that entry.

Optional Pro & Priority Support

The Free core is complete and yours forever. Upgrade only if you need automation, agency scale, or priority support.

1 Site
$19/yr
5 Sites
$39/yr
Unlimited
$69/yr
14-Day Money-Back Guarantee • Instant License Delivery • 256-Bit SSL Encryption
ForgeHub Auto TOC
ForgeHub Auto TOC $0.00 – $129.00