Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

Table of Contents Block

Descrición

Create a Table of Contents within Gutenberg editor with various styling controls and settings.

Features

  • Hierarchical View
  • Bullets or Numbers list
  • Include or Exclude headings
  • Make it Collapsable
  • Individual styling options

Hierarchical View

List your headings as flat or nested view in table of contents to make them more readable.

Include or Exclude headings

This option gives you flexibility to choose which headings should be included or excluded in your table of contents by using HTML tags and CSS id, classes.

Blocks

Este plugin proporciona 1 bloque.

  • Table of Contents Improve readability and navigation of your websites with the Table of Contents Block.

Preguntas frecuentes

Does it work with any WordPress theme?

Yes, it will work with any standard WordPress theme.

Comentarios

2 de Xuño, 2024
It basically works, but not enough customizability. This includes: Can’t customize the title enough. Better yet, disable the title so I can provide my one (if you leave the title blank it still takes up space). Can’t choose to not have any bullets (neither bullets nor numbering). A nice alternative would be to have styling instead of hierarchy; e.g., bold for H2 and non-bold for >H2. With bullets, can’t adjust indentation (horizontal space is limited when the ToC is in a sidebar) Can’t make the items not underlined.
19 de Maio, 2023
Looks good on the edit page but as many others have said in the past year it pulls in all the headers across entire page including footer links when published/previewed. As last update was over a year ago despite the requests for fixes it seems it won’t be kept compatible with future releases of Wordpress. Edit: as someone said in the support you can fix this by adding this into the include box on the right of the page editor: It would definitely be better if it only shown headers from the content div by default – I found I need to add “.wp-block-post-content” to the include section to make it not pick up the headers from footer. Other plugins don’t do this.
11 de Xaneiro, 2023
The plugin is easy to set up and configure. It gets the job done without adding any bloat. Request/Suggestion: Please make the TOC link anchor text take up the values of the heading instead of the standard #ib-toc-anchor-# /post-1/#ib-toc-anchor-1 To /post-1/#This-is-heading This would be easy to link straight to a heading even if the order of the heading is changed.
17 de Xaneiro, 2022
This is excellent, works very well, easy to configure and style, both in a content colun or in a sidebar using the new WP 5.8 widget editor.
Ler todas as 9 opinións

Colaboradores e desenvolvedores

“Table of Contents Block” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

“Table of Contents Block” foi traducido a 1 idioma. Grazas aos desenvolvedores polas súas contribucións.

Traduce “Table of Contents Block” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

1.0.2 – January 26, 2022

  • Fix: JS error with WP 5.9

1.0.1 – July 30, 2021

  • Fix: Anchors selection getting reset in editor
  • Fix: HTML tags was getting rendered in title
  • Fix: Minor CSS issues

1.0.0 – July 18, 2020

  • Initial release