SimpleTOC – Table of Contents Block

Description

In Gutenberg, add a block and search for “SimpleTOC” or just “TOC”. You need to save your post before you add the block. It works by parsing the post content and retrieving the heading blocks and creates a new dynamic block with a list of links to the headings.

Features

  • Designed for Gutenberg
  • Works great with all themes
  • Simple and clean HTML
  • Inherits the style of your theme
  • No customizations needed
  • Compatible with AMP plugins
  • SEO friendly.
  • No need for additional javascript or css.
  • Comes with English, French, Spanish and German translations

This plugin is forked from https://github.com/pdewouters/gutentoc by pdewouters and uses code from https://github.com/shazahm1/Easy-Table-of-Contents by shazahm1

Screenshots

  • SimpleTOC block in Gutenberg editor
  • SimpleTOC in the post

Blocks

This plugin provides 1 block.

simpletoc/toc
SimpleTOC

Installation

SimpleTOC can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually…

In Gutenberg, add a block and search for “SimpleTOC” or just “TOC”. Please save your content before you use the block.

Reviews

April 23, 2020
works flawlessly in my block. Add simple but clean table of contents to my articles.
Read all 1 review

Contributors & Developers

“SimpleTOC – Table of Contents Block” is open source software. The following people have contributed to this plugin.

Contributors

“SimpleTOC – Table of Contents Block” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “SimpleTOC – Table of Contents Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.