Home Plugins digital table of contents
Digital Table of Contents logo

Digital Table of Contents

by amanstacker on WordPress.org

A powerful and customizable TOC plugin. Effortlessly navigate your content with advanced features and flexible styling.

(0)
In-Content TOC in action

In-Content TOC in action

Digital Table of Contents is a powerful, modular toc system that lets you effortlessly generate and manage table of contents across your content. With full control over styling, behavior, and placement, it offers a user-friendly and highly customizable experience.

Key Features:

  • Modular TOC System: Each major TOC feature is separated into its own module for better management and flexibility. Comes with a dedicated settings panel for full control — ensuring smooth operation without conflicts and making it stand out from other plugins.
  • Auto Insertion of TOC: Automatically insert a table of contents across all post types with a single setup.
  • Flexible TOC Positioning: Choose where to place the TOC — before the first heading, after the first heading, top of the content, bottom of the content, or after a specific paragraph number.
  • Heading Hierarchy Support: Automatically generate a hierarchical TOC based on headings from H1 to H6.
  • Smart Placement Controls: Display the TOC on specific post types, individual posts, selected categories, and more — with options to exclude specific posts or pages.
  • Paginated TOC support: Fully compatible with the tag, creating individual or combine TOCs for each page of your split content.
  • Smooth Scrolling: Enables a seamless and fluid scroll experience when navigating through the table of contents, enhancing overall user experience.
  • Accessibility Attributes: Adds essential ARIA and semantic HTML attributes to ensure the table of contents is fully accessible to screen readers and assistive technologies.
  • Rendering Style : Choose between CSS-based (lightweight and fast with basic interactions) or JavaScript-based rendering (more interactive and dynamic behavior) depending on your performance and functionality needs.
  • Multiple Header Icon Options: Choose from various icon styles like List Icon (☰), Show/Hide, Plus (+)/Minus (−), or even use a custom icon of your choice.
  • Full Customization: No need to rely on predefined designs — easily customize colors, styles, icons, background, link colors, title, borders, and much more, all hassle-free.
  • Custom CSS: If the built-in customization options aren’t sufficient, you can add your own CSS directly in the provided Custom CSS box.
  • Jump Links Control: Option to generate a TOC without clickable jump links, ideal for visual structure without navigation.
  • Lightweight & Performance-Friendly: Built for speed and efficiency, the plugin is optimized to have minimal impact on your site’s load time and overall performance.
  • Import / Export: Easily back up or transfer your TOC settings and configurations between sites with the one-click import/export feature.
  • Delete Data on Uninstall: Option to remove all Digital Table of Contents plugin data from the database when Digital Table of Contents plugin is uninstalled, ensuring a clean removal.
  • Fast Help & Support: If you are unable to find any features related to Digital Table of Contents or found any bug. Please contact us, Digital Table of Contents team would try to solve it quickly.

Shortcode:

Turn on the Shortcode Module to unlock a powerful, beginner-friendly WordPress Table of Contents shortcode builder — no coding required. Forget manually typing or memorizing shortcode parameters; simply open the shortcode settings panel and start customizing your TOC design, layout, and behavior.

As you adjust the settings, a real-time live preview instantly shows you exactly how your Table of Contents will appear, allowing you to fine-tune headings, styles, toggle options, icons, and more. This visual approach ensures you get the perfect look before placing it on your site.

When you’re happy with the configuration, the plugin automatically generates a fully-parameterized TOC shortcode in the Shortcode Source tab. Just copy and paste it anywhere — inside posts, pages, widgets, or even custom templates — and your Table of Contents will appear exactly as previewed.

With default settings, just use [digital_toc] for a quick, clean, and fully functional Table of Contents without any extra setup.

Available Modules (More Coming Soon!):

  • ✅ In-Content TOC
  • ✅ Shortcode TOC
  • 🔜 Sticky TOC
  • 🔜 Floating TOC
  • 🔜 In-Content (Mobile)
  • 🔜 In-Content Table
  • 🔜 Sticky (Mobile)
  • 🔜 Sticky Table
  • 🔜 Floating (Mobile)
  • 🔜 Floating Table
  • 🔜 Shortcode (Mobile)
  • 🔜 Shortcode Table

Roadmap

  • Sticky and Floating TOC
  • Mobile-specific layout and controls
  • Shortcode & Widget support
  • Live Preview UI in Admin
  • Accessibility enhancements

Credits

This plugin is inspired by and pays credit to the following projects:

Third-party Libraries Used:

  • Ace Editor – for code editing interface in custom CSS
  • Select2 – for enhanced select dropdowns

License

This plugin is licensed under the GPLv2 or later.

Support & Feedback

For support or suggestions, visit the Support Forum.
Contribute or view the source on GitHub: https://github.com/amanstacker/digital-table-of-contents
Love the plugin? Support development with a donation

Active installations0+
Weekly downloads
59+145.83%
Version1.0.2
Last updated8/11/2025
WordPress version5.0
Tested up to6.8.2
PHP version7.4
Tags
headingsnavigationsticky toctable of contentstoc