SimpleTOC – Table Of Contents Block Wordpress Plugin - Rating, Reviews, Demo & Download

SimpleTOC – Table Of Contents Block Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Add a Table of Contents block to your posts and pages. The TOC is a nested list of links to all heading found in the post or page. To use it, simply add a block and search for “SimpleTOC” or just “TOC”.

The maximum depth of the toc can be configured in in the blocks’ sidebar among many other options. There can hide the headline “Table of Contents” and add your own by using a normal heading block.

SimpleTOC is open-source and developed on GitHub Pages. If you find a bug or have an idea for a feature please feel free to contribute and create a pull request.

Spin up a new WordPress instance with the SimpleTOC plugin already installed.

Features

  • Designed for Gutenberg.
  • Zero configuration: Add the SimpleTOC block to your post and that’s it.
  • Minimal and valid HTML output.
  • Utilizes the browser’s built-in details tag for a collapsible interface.
  • No JavaScript or CSS added. Unless you activate the accordion menu.
  • Style SimpleTOC with Gutenberg’s native group styling options.
  • Inherits the style of your theme.
  • Smooth scrolling effect using CSS.
  • Optional ARIA Label and navigation role attributes.
  • Translated in multiple languages. Including German, Japanese, Chinese (Taiwan), Dutch, Brazilian Portuguese, French, Spanish and Latvia.
  • Ideal for creating a Frequently Asked Questions section on your website.

Customization

  • Administrators can utilize global settings to supersede the individual block settings.
  • Add background and text color with Gutenberg groups.
  • Native block support for wide and full width.
  • Control the maximum depth of the headings.
  • Choose between an ordered, bullet HTML list. Or indent the list.
  • Select a heading level or turn it into a paragraph.
  • Disable the h2 heading of the TOC block and add your own.

Compatibility

  • GeneratePress and Rank Math support.
  • Works with popular AMP plugins.

Credits

This plugin is forked from pdewouters and uses code from Easy-Table-of-Contents

Many thanks to Tom J Nowell and and Sally CJ who both helped me a lot with my questions over at wordpress.stackexchange.com

Thanks to Quintus Valerius Soranus for inventing the Table of Contents around 100 BC.

Screenshots

  1. SimpleTOC block in Gutenberg editor.

    SimpleTOC block in Gutenberg editor.

  2. SimpleTOC in the post.

    SimpleTOC in the post.

  3. Simple but powerful. Customize each TOC as you like.

    Simple but powerful. Customize each TOC as you like.

  4. Control the maximum depth of the headings.

    Control the maximum depth of the headings.

  5. SimpleTOC styled with Gutenbergs native group styles.

    SimpleTOC styled with Gutenbergs native group styles.

  6. SimpleTOC Advanced Features

    SimpleTOC Advanced Features

  7. Gutenberg Heading block: Set a custom anchor

    Gutenberg Heading block: Set a custom anchor

  8. SimpleTOC hidden in the accordion menu.

    SimpleTOC hidden in the accordion menu.

  9. SimpleTOC global settings.

    SimpleTOC global settings.


Reviews & Comments