前言介紹
- 這款 WordPress 外掛「Digital Table Of Contents」是 2025-01-02 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-01-03,距離現在已有 121 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6.20 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
toc | menu | heading | navigation | table of contents |
內容簡介
總結文案:
這個 WordPress 外掛可以自動在文章或頁面上添加目錄,也可透過短代碼來插入。
問題與答案:
1. 這個外掛的功能是什麼?
- 這個外掛可以自動在選定的文章類型(例如文章或頁面)上顯示目錄,根據在管理面板中設置的設定。
2. 如何使用短代碼來手動插入目錄?
- 您可以使用 [dtoc_list] 短代碼來手動插入目錄。
3. 這個短代碼支持哪些參數?
- 參數包括:
- headings:指定要包含在目錄中的標題級別(例如 headings="h2,h3,h4")。
- toggle:啟用切換功能(toggle="true" or toggle="false")。
- hierarchy:啟用或禁用嵌套層級(hierarchy="true" or hierarchy="false")。
- title:自定義目錄的標題(例如 title="自定義目錄標題")。
4. 可以給一個使用例子嗎?
- [dtoc_list headings="h2,h3" toggle="true" hierarchy="true" title="My Custom TOC"] 這個例子會生成一個包括 H2 和 H3 標題、啟用切換和嵌套層級的自定義標題為 "My Custom TOC" 的目錄。
5. 遇到 Digital Table Of Contents 的問題或想貢獻怎麼辦?
- 如果遇到 Digital Table Of Contents 的問題或想要貢獻,請前往 GitHub 上的 Digital Table Of Contents 存儲庫。請注意,GitHub 不是一個支援論壇,而是一個用於有效解決問題的平台。
原文外掛簡介
A plugin to automatically add table of contents on posts and pages or via shortcode.
Usage
Auto-Inserting TOC:
The TOC will automatically appear on selected post types (e.g., posts or pages) based on the settings configured in the admin panel.
Using the Shortcode:
You can manually insert a Table of Contents using the [dtoc_list] shortcode.
The shortcode supports the following arguments:
Arguments:
headings: Specify which heading levels to include in the TOC (e.g., headings="h2,h3,h4").
toggle: Enable the toggle feature (toggle="true" or toggle="false").
hierarchy: Enable or disable nested hierarchy (hierarchy="true" or hierarchy="false").
title: Customize the title of the TOC (e.g., title="Custom TOC Title").
Example:
[dtoc_list headings=”h2,h3″ toggle=”true” hierarchy=”true” title=”My Custom TOC”]
This will render a TOC that includes H2 and H3 headings, with toggle and hierarchy enabled, and a custom title “My Custom TOC.”
Report Bug or Contribute fix
Encounter an issue with Digital Table Of Contents? or wanted to contribute. Kindly visit Digital Table Of Contents repository on GitHub. Please be aware that GitHub is not a support forum, but rather a streamlined platform for effectively addressing and solving problems.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Digital Table Of Contents」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Breadcrumb NavXT 》Breadcrumb NavXT 是受歡迎的 WordPress 外掛 Breadcrumb Navigation XT 的後繼者,從頭開始編寫以比其前輩更好。此外掛可為您的 WordPress 網誌或網站生成定...。
WP-PageNavi 》想要取代舊的 ← Older posts | Newer posts → 連結,並改為一些頁面連結嗎?, 這個外掛提供了 wp_pagenavi() 的樣板標籤,可以產生豪華的分頁連結...。
Max Mega Menu 》Max Mega Menu 可自動將您現有的菜單轉換為豪華菜單。您還可以將任何 WordPress widget 添加到菜單中,使用主題編輯器重新風格化菜單,並使用內建設置更改菜...。
Page scroll to id 》Page scroll to id 是一款功能完整的外掛,將瀏覽器「跳轉」行為替換成平滑捲動動畫效果,當按下 href 值含 # 的鏈結時。此外,它提供所有基本工具和進階功能...。
Menu Image, Icons made easy 》這個外掛可以輕鬆地在選單項目中加入圖像或圖示,打造更好的網站選單。, 可以控制圖像或圖示的位置以及大小。, 這個 Menu Image 外掛還有其他功能,以下是其...。
Menu Icons by ThemeIsle 》這個外掛提供了在選單項目中加入圖示的功能,就像最新的儀表板選單的外觀一樣。, , 使用方法, , 啟用外掛後,前往外觀 > 選單以編輯您的選單, 在「選單圖...。
LuckyWP Table of Contents 》ptoc] used to manually insert the table of contents., Filters lwptoc_settings, lwptoc_post_settings, Use for change plugin settings programmaticall...。
Responsive Menu – Create Mobile-Friendly Menu 》這是一個高度自訂化的 WordPress 響應式選單外掛程式,擁有超過150個可自訂選項,讓您擁有22,500種組合選擇!您不需要編寫代碼或知識,只需使用簡單易用的介...。
Font Awesome 4 Menus 》此 WordPress 外掛能夠在不需編寫任何程式碼的情況下,將 Font Awesome 4 圖示添加到您的 WordPress 選單和網站上!您只需將 fa-(圖示名稱)添加為選單的 cl...。
Exclude Pages 》這個外掛新增了一個勾選框,「在選單中包含此頁面」,取消勾選則排除使用者在您的網站上看到的頁面導覽中的頁面。, 如有問題:聯繫我。此插件新增了一個勾選...。
WP-Paginate 》最新消息, WP-Paginate 是一個簡單靈活的分頁外掛,可為您的 WordPress 網站提供更好的導覽方式。, 除了提高訪客的使用體驗外,更廣泛的報告顯示,分頁可透過...。
Rich Table of Contents 》RTOC是一個來自日本的目錄生成外掛,讓任何人都可以輕鬆地創建目錄。除了擁有傳統目錄外掛的功能外,它設計了精美易用的介面。實時預覽具有直觀的使用者介面...。
Flexy Breadcrumb 》PressTigers 的 Flexy Breadcrumb 是一個簡單而強大的麵包屑導覽系統外掛,適用於 WordPress 網站。使用此外掛,您可以透過 [flexy_breadcrumb] 短碼在網站的...。
WP Realtime Sitemap 》這是一個網站地圖的 WordPress 外掛,可以讓您輕鬆地顯示所有頁面、文章、存檔、分類和標籤,而無需進行樣板修改或在網頁上懂 HTML/PHP 知識。, 此外掛不會建...。
WP PageNavi Style 》首先,我想感謝 Lester 'GaMerZ' Chan 和 scribu 為這個美麗的 WordPress 頁面導航外掛所做出的貢獻。, 使用此外掛你必須先安裝 Wp Pagenavi。 , 連結:分頁...。