
前言介紹
- 這款 WordPress 外掛「AnchorKit – Table of Contents」是 2026-01-13 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2026-01-14,距離現在已有 43 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
toc | gutenberg | anchor links | accessibility | table of contents |
內容簡介
總結:AnchorKit 提供了簡單的方法,在網站的任何地方添加專業的內容表格,並具有無與倫比的自定義和開發人員友好的功能。
問題與答案:
1. AnchorKit 的核心功能有哪些?
- 自動生成符合 WCAG 標準的、具有存取性的內容表格,可解析內容標題用於文章、頁面和自訂文章類型。
- 首先考慮的是無障礙設計,包括 ARIA 標籤、鍵盤導航和屏幕閱讀器相容性。
- 支援使用 Classic Editor、Gutenberg、Elementor、Divi、WPBakery Page Builder 和 Visual Composer。
- 可選擇將 TOC 自動插入內容或使用手動放置,並使用短代碼、小工具或區塊。
- 具有控制 TOC 出現時間和位置的綜合設置等功能。
2. AnchorKit 的外觀和主題方面有哪些特點?
- 提供淺色/深色/系統主題,並能自動偵測。
- 有三種預設風格(Minimal、Modern、Clean)以及完整的自定義風格。
- 提供多種標記格式:無、十進制、數字、羅馬數字和自訂字符等。
- 可自訂顏色、字體、間距和動畫等。
3. AnchorKit 如何確保存取性?
- 符合 WCAG 標準,並具有正確的 ARIA 標籤和鍵盤導航。
- 與屏幕閱讀器相容,並提供描述性標籤。
- 可配置標題級別和錨點格式。
- 具有適當的標題層次的語義化 HTML 結構。
原文外掛簡介
AnchorKit makes it simple to add a professional table of contents anywhere on your site with unparalleled customization and developer-friendly features:
🚀 Core Features:
– Automatically generate WCAG compliant, accessible table of contents for posts, pages, and custom post types by parsing content for headers
– Accessibility-first design with ARIA labels, keyboard navigation, and screen reader compatibility
– Works with Classic Editor, Gutenberg, Elementor, Divi, WPBakery Page Builder, and Visual Composer
– Optionally auto-insert TOC into content or use manual placement with shortcodes, widgets, or blocks
– Comprehensive settings for controlling when and where TOC appears
– Multiple built-in themes with custom colors for borders, backgrounds, and links
– Hierarchical display with nested sub-headings and proper heading structure
– Smooth scrolling with configurable offset and keyboard-friendly navigation
– Collapsible TOC with customizable initial states and focus management
– Selective enable/disable on post-by-post basis with user preference respect
– Advanced heading filtering with keywords, selectors, and regex patterns
– Mobile-responsive with customizable breakpoints and touch-friendly controls
🎨 Appearance & Themes:
– Light/dark/system themes with automatic detection
– Three preset styles (Minimal, Modern, Clean) plus full custom styling
– Multiple bullet formats: none, decimal, numeric, roman numerals, and custom characters
– Customizable colors, fonts, spacing, and animations
– Theme-aware styling that adapts to your site’s design
♿ Accessibility First:
– WCAG compliant with proper ARIA labels and keyboard navigation
– Screen reader compatible with descriptive labels
– Configurable heading levels and anchor formats
– Semantic HTML structure with proper heading hierarchy
🛠️ Developer Friendly:
– Extensive action hooks and filters for customization
– Pull requests and feature requests welcomed on GitHub
– Comprehensive shortcode attributes for granular control
– Schema.org SiteNavigation markup support
– ACF field integration for dynamic content
– WordPress coding standards compliant
📱 Advanced Features:
– Sticky TOC positions with customizable offset
– Scroll spy with active section highlighting
– Reading time and word count metadata
– “View more” truncation for long TOCs
– Back-to-top links with smooth scrolling
– AMP-compatible output (Pro)
– Custom taxonomy description support
Shortcode
Take full command of your table of contents with AnchorKit’s comprehensive shortcode system. Perfect for users who prefer code over visual editors or need granular control. All shortcode attributes maintain full accessibility compliance and WCAG standards.
Basic Usage:
[anchorkit_toc]
Advanced Usage with Attributes:
[anchorkit_toc header_label="Contents" display_counter="yes" theme="dark"]
Supported Attributes:
Display Control:
– header_label="Title" – Custom TOC title
– display_header_label="no" – Hide title
– toggle_view="no" – Disable collapsible toggle
– initial_view="hide" – Start collapsed
Content Filtering:
– heading_levels="2,3" – Include only H2 and H3 headings
– exclude="Test,Draft" – Exclude headings containing these keywords
– post_types="post,page" – Limit to specific post types
– post_in="1,2" – Include only specific post IDs
– post_not_in="1,2" – Exclude specific post IDs
– min_headings="3" – Require minimum number of headings
Appearance:
– display_counter="yes" – Enable numbered lists
– class="custom-toc" – Add custom CSS class
– theme="dark" – Set theme (system/light/dark)
– preset="modern" – Choose style preset
Behavior & Accessibility:
– hierarchical="yes" – Enable nested sub-headings with proper heading structure
– smooth_scroll="no" – Disable smooth scrolling (accessibility option)
– device_target="mobile" – Show only on mobile/desktop for responsive design
PRO Features:
– view_more="5" – Show only first 5 headings initially (PRO)
– sticky="yes" – Enable sticky positioning
– show_reading_time="yes" – Display reading time
– show_word_count="yes" – Display word counts
Upgrade to AnchorKit Pro
Take AnchorKit to the next level with professional features and premium support:
🎨 Enhanced Integration:
– Elementor Widget – Drag-and-drop TOC creation
– Gutenberg Block – Advanced block editor support
– ACF Support – Generate TOC from custom fields
– AMP Compatibility – Automatic AMP-friendly output
📍 Advanced Positioning:
– Fixed/Sticky TOC – Multiple positioning options
– Sticky Customization – Theme-aware sticky styling
– Scroll Spy – Active section highlighting
– Back-to-Top Links – Smooth scroll to top
📊 Content Enhancement:
– Reading Time – Display estimated read time
– Word Count – Show word counts per section
– View More – Truncate long TOCs elegantly
– Schema.org Markup – Rich snippets for SEO
♿ Enterprise Accessibility:
– WCAG 2.1 AA Compliance – Full accessibility audit and certification
– Advanced ARIA Support – Complex widget patterns and live regions
– Keyboard Navigation – Full keyboard and screen reader support
– Multi-device Testing – Accessibility validation across all devices
🛠️ Developer Features:
– Priority Support – Direct developer assistance
– Advanced Hooks – Extended customization API
– Migration Tools – Import from other TOC plugins
– Custom Integrations – Third-party plugin support
Privacy
Opt-in telemetry only: the free plugin never transmits site data. When you opt in, we only collect your site URL, WP/PHP versions, and admin email to issue a license.
No front-end tracking: AnchorKit does not load external trackers, ads, pixels, or front-end scripts from third-party domains.
Self-hosted assets: all CSS/JS lives inside the plugin; no CDNs or remote calls are made on visitor pages.
Upgrade to AnchorKit Pro inside the plugin to unlock Elementor widget, sticky TOC positions, reading-time metadata, schema, ACF integration, and more. Purchases and license management are handled securely via Freemius (Stripe/PayPal).
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「AnchorKit – Table of Contents」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
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 ...。
Kadence Blocks — Page Builder Toolkit for Gutenberg Editor 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
Extendify 》Extendify 是一個網站設計和製作工具平台,提供豐富的圖案和全頁面佈局,可用於 Gutenberg 區塊編輯器,幫助人們建立美麗的 WordPress 網站。, 使用 Extendif...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
Page Builder Gutenberg Blocks – CoBlocks 》, 注意:對於已受 CoBlocks 3.0.0 版本影響的使用者,請查看我們在 WordPress.org 支援論壇文章,如果您需要支援,請建立新的主題帖。, , CoBlocks 是新版 Gu...。AI Powered Starter Templates by Kadence WP 》用三個滑鼠點擊建立一個美觀的「效能優化」網站, 在幾分鐘內創建和自定義專業設計的網站。, Kadence Starter Templates 為您提供使用 WordPress 區塊構建器的...。
GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns 》使用 Essential Blocks for Gutenberg,即可實現您的創意視覺效果,這是適用於 WordPress 的最終區塊庫!, 使用我們易於使用的區塊,增強您使用 Gutenberg 的...。VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
Stackable – Page Builder Gutenberg Blocks 》終極與古鐸版衣搭檔, Stackable 是您一直在等待的終極可靠古鐸版衣搭檔。使用堅強、輕便的自訂區塊、現成設計、UI套件、全域設定和高級自訂選項建立動態網站...。
