GutenTOC – Advanced Table of Contents

描述

GutenTOC is an SEO-friendly customizable block for the WordPress block editor (Gutenberg).
It scans headings through your page or post content and creates the table of contents (TOC) automatically.

Supporting Future Development

If you like this plugin, please rate and review it here in the WordPress Plugin Directory.
Thank you for your support!

How to Add a Block

  1. Go to the block editor.
  2. Add a block by searching for “TOC” or “Table of Contents”.

Features

  • Automatically generate a table of contents with the GutenTOC block.
  • Auto-generated anchors (customizable if needed).
  • SEO friendly (anchors display nicely in SERPs).
  • Option to toggle TOC visibility.
  • Counter bullet formats: none, decimal, numeric, icon.
  • Smooth scrolling to headings.
  • Customizable styles: background color, border color, text color, font settings, etc.

屏幕截图

  • TOC initially hidden
  • TOC block in editor
  • TOC aligned right
  • TOC aligned left/right
  • TOC background color option
  • TOC border color option
  • TOC text color option
  • TOC border radius

区块

该插件提供了 2 个区块.

  • Cgb Block Gutentocwp
  • Advance Table of Content

安装

Automatic Installation

  • Requires WordPress 5.0 or higher.
  • Go to WordPress admin Plugins Add New.
  • Search for “GutenTOC”.
  • Install and activate.
  • Add the “GutenTOC” block inside the editor.

常见问题

Can I get support for using the block?

Yes, we reply to every question in the support forum.

Does this plugin slow down my website?

No. The plugin has almost no impact on page load for visitors.

Is this plugin free?

Yes, it is completely free.

评价

2024 年 7 月 22 日
This plugin is good. It works well and deserves 5 stars, but it has an invalid CSS class. .gutentoc.tocactive { widows: 100%; } This doesn’t work for me. It would probably be width:100%. Or, I could be wrong!
2022 年 11 月 10 日
Great plugin, works fine and comes with numerous well thought-out options – thanks for this!! Some suggestions / things I’d love to see in a coming version: Make the source JS readable (currently completely minified) and as such editable / understandable – I cannot contribute if it is obfuscated like this… Would love to see the numbering of the second (third, …) levels reflect the parent numbers – by that I mean level 1 with levels 1.1 and 1.2 instead of having level 1 repeat level 1, level 2, etc. Make the plugin translatable via WP’s coding standards so I can change the labels accordingly without editing plugin code directly Regards
2022 年 6 月 29 日
This plugin does a good job, but it has multiple accessibility issues (invalid list code, TOC title isn’t a true heading, open/show TOC not keyboard focusable…).
2022 年 3 月 10 日
This plugin is working perfectly as per requirement. Only one thing is that “rankmath seo plugin” doesn’t detect this plugin, therefore getting low SEO score. Please follow the Rankmath guide to add this functionality. Thanks.
2022 年 1 月 9 日
Automatically sets table up with tags. Smooth scrolling is nice. Simple yet elegant. Please add support for Rankmath.
阅读所有12条评价

贡献者及开发者

「GutenTOC – Advanced Table of Contents」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「GutenTOC – Advanced Table of Contents」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「GutenTOC – Advanced Table of Contents」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.0.1

  • Initial Release

0.0.2

  • Added TOC alignment option

1.0.1

  • WordPress 5.5 compatibility

2.0.1

  • Fixed extra editor core CSS

2.0.2

  • Fixed scrolling issue

2.0.5

  • Added options: Font Size, Line Height, Font Weight, Font Family, Letter Spacing, Text Color, Hover Color, Hover Underline