WP Manifestindependent plugin directory
manifest / content / modularity-toc

Modularity Table of Contents

A Table of Contents module for Modularity.

by Consid Borås AB · github.com/considbrs-webdev/modularity-toc · website

0stars
141composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/considbrs-webdev/modularity-toc/archive/refs/heads/dev.zip

Also on Packagist as considbrs-webdev/modularity-toc:

composer require considbrs-webdev/modularity-toc

From the readme

Modularity Table of Contents A Modularity module that automatically generates a dynamic, linked table of contents based on headings found on the page. Features a mobile-optimized drawer interface and optional sticky sidebar positioning. Description This plugin provides a Table of Contents module for the Modularity plugin ecosystem. It automatically scans the page content and generates a navigable list of headings, making it easier for users to quickly jump to different sections of long-form content. Features - Automatic Heading Detection: Automatically finds and lists headings from the page content - Customizable Heading Levels: Choose which heading levels (H2, H3, H4) to include in the table of contents - Multiple Container Support: Scans specific content areas including: - Sidebar content areas - Article content - Main content area - Card Display Option: Option to display the TOC inside a styled card component - Smart Card Filtering: Option to ignore headings inside cards except for card headers - Smooth Navigation: Clickable links that navigate smoothly to each section - Active State Tracking: Highlights the current section as users scroll through the page - Configura

Read the full README on GitHub →