前言介紹
- 這款 WordPress 外掛「SimpleTOC – Table of Contents Block」是 2020-04-13 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2025-02-15,距離現在已有 76 天。
- 外掛最低要求 WordPress 5.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 72 人給過評分。
- 論壇上目前有 4 個提問,問題解答率 50%
外掛協作開發者
marcdk |
外掛標籤
toc | block | gutenberg | accessibility | table of contents |
內容簡介
在您的文章和頁面中加入目錄區塊。該 TOC 是包含文章或頁面中所有標題的嵌套連結列表。只需添加一個區塊並搜索“SimpleTOC”或“TOC”即可使用它。
toc 的最大深度可以在區塊的側邊欄中進行配置,並提供了許多其他選項。可以隱藏標題“目錄”,並使用常規標題區塊添加您自己的標題。
SimpleTOC 是開源的,並在 GitHub Pages 上開發。如果您發現錯誤或有功能上的建議,請隨時貢獻並創建一個 pull request。
使用 SimpleTOC 插件快速建立新的 WordPress 實例。
功能
零配置:只需將 SimpleTOC 區塊添加到您的文章中即可。
最小且有效的 HTML 輸出。
未添加 JavaScript 或 CSS。除非您啟用手風琴菜單。
為 Gutenberg 設計。
使用 Gutenberg 的原生組樣式選項對 SimpleTOC 進行設置。
繼承您的主題風格。
使用 CSS 實現平滑滾動效果。
翻譯成多種語言,包括德語、日語、中文(台灣)、荷蘭語、巴西葡萄牙語、法語、西班牙語和拉脫維亞語。
自定義
使用 Gutenberg 組進行背景和文本顏色設置。
原生區塊支持寬屏和全屏。
控制標題的最大深度。
選擇有序、無序 HTML 列表,或使用縮進列表。
選擇標題級別或將其轉換為段落。
禁用 TOC 區塊的 h2 標題,並添加您自己的標題。
兼容性
支持 GeneratePress 和 Rank Math。
適用於常用的 AMP 插件。
學分
此插件是從 pdewouters 分叉而來,並使用了 Easy-Table-of-Contents 的代碼。
非常感謝 Tom J Nowell 和 Sally CJ,在 wordpress.stackexchange.com 上回答我的問題時給了我很多幫助。
感謝 Quintus Valerius Soranus 在公元前 100 年發明了目錄。
原文外掛簡介
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.
Accessibility
This plugin is designed & developed for WCAG 2.2 level AA conformance. The plugin is tested with assistive technology and intended to be accessible, however some third party plugins or themes may affect the individual accessibility on a given website. If you find an accessibility issue, please let us know and we’ll try to address it promptly.
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SimpleTOC – Table of Contents Block」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.9 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 2.8 | 2.9 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 | 4.6 | 4.7 | 4.8 | 4.9 | 5.0 | 6.4 | 2.9.1 | 4.0.1 | 4.0.2 | 4.0.3 | 4.0.4 | 4.1.1 | 4.4.1 | 4.4.2 | 4.4.5 | 4.4.6 | 4.4.7 | 4.4.8 | 4.4.9 | 5.0.1 | 5.0.2 | 5.0.3 | 5.0.4 | 5.0.5 | 5.0.6 | 5.0.8 | 5.0.9 | 6.0.0 | 6.0.1 | 6.0.2 | 6.0.4 | 6.0.5 | 6.0.6 | 6.0.7 | 6.0.8 | 6.0.9 | 6.1.0 | 6.2.0 | 6.3.0 | 6.3.1 | 6.3.2 | 6.4.1 | 6.4.2 | 6.4.3 | 6.4.4 | 6.5.2 | 6.5.5 | 6.5.6 | 6.6.0 | 6.7.0 | 6.7.1 | 6.7.2 | trunk | 5.0.11 | 5.0.16 | 5.0.17 | 5.0.18 | 5.0.19 | 5.0.21 | 5.0.22 | 5.0.23 | 5.0.24 | 5.0.25 | 5.0.27 | 5.0.28 | 5.0.29 | 5.0.30 | 5.0.31 | 5.0.32 | 5.0.33 | 5.0.34 | 5.0.35 | 5.0.36 | 5.0.37 | 5.0.38 | 5.0.39 | 5.0.40 | 5.0.41 | 5.0.42 | 5.0.43 | 5.0.45 | 5.0.46 | 5.0.47 | 5.0.48 | 5.0.49 | 5.0.50 | 5.0.51 | 5.0.52 | 5.0.53 | 5.0.55 | 5.0.56 | 6.0.10 | 6.0.11 | 6.0.14 | 4.4.9.1 | 4.4.9.2 | 5.0.21.1 | 5.0.25.1 |
延伸相關外掛(你可能也想知道)
Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
Classic Widgets 》Classic Widgets 是由 WordPress 團隊維護的官方外掛,能夠恢復先前(即「經典」)的 WordPress widgets 設定畫面。該外掛將於 2024 年或必要時保持支援和維...。
Starter Templates – AI-Powered Templates for Elementor & Gutenberg 》免費模板,支援 Elementor、Beaver Builder 和 Block Editor, 使用 Starter Templates 外掛,只需數分鐘即可建立專業且完美的網站。此外掛為使用者提供超過 2...。
Spectra Gutenberg Blocks – Website Builder for the Block Editor 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
Gutenberg Blocks with AI by Kadence WP – Page Builder Features 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
Extendify 》Extendify 是一個網站設計和製作工具平台,提供豐富的圖案和全頁面佈局,可用於 Gutenberg 區塊編輯器,幫助人們建立美麗的 WordPress 網站。, 使用 Extendif...。
Page Builder Gutenberg Blocks – CoBlocks 》, 注意:對於已受 CoBlocks 3.0.0 版本影響的使用者,請查看我們在 WordPress.org 支援論壇文章,如果您需要支援,請建立新的主題帖。, , CoBlocks 是新版 Gu...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
AI Powered Starter Templates by Kadence WP 》用三個滑鼠點擊建立一個美觀的「效能優化」網站, 在幾分鐘內創建和自定義專業設計的網站。, Kadence Starter Templates 為您提供使用 WordPress 區塊構建器的...。
GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
Stackable – Page Builder Gutenberg Blocks 》終極與古鐸版衣搭檔, Stackable 是您一直在等待的終極可靠古鐸版衣搭檔。使用堅強、輕便的自訂區塊、現成設計、UI套件、全域設定和高級自訂選項建立動態網站...。
Kubio AI Page Builder 》, , Kubio 是一個創新的基於區塊的 WordPress 網站建立工具,它以全新的區塊來擴充編輯器功能並提供使用者無限的樣式選項。透過先進的編輯功能,Kubio 使用者...。