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 個可供 Gutenberg/區塊編輯器使用的區塊。

  • 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