[WordPress] 外掛分享: Auto Anchor Links List

前言介紹

  • 這款 WordPress 外掛「Auto Anchor Links List」是 2024-09-24 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2024-09-25,距離現在已有 219 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jethin |

外掛標籤

block | anchors | jump links | anchor links | table of contents |

內容簡介

**總結:**

這個外掛提供了一個自動建立錨點連結清單的功能,將文章中的標題設置為可快速連結的目標。

**問題與答案:**

1. 如何在文章中使用「Auto Anchors Links List」這個區塊?
- 將「Auto Anchors Links List」區塊插入想要顯示的地方即可。

2. 一篇文章中可以包含幾個「Auto Anchor Links List」區塊?
- 一篇文章只能包含一個「Auto Anchor Links List」區塊。

3. 如何檢視並測試自動產生的連結清單?
- 預覽文章以查看清單顯示和測試連結。

4. 支援哪些標題級別的設置?
- 支援 h2 到 h6 級別的標題。標題級別必須按照正確的順序排列,子標題級別在清單中有縮排。

5. 如何手動維護清單?
- 如果要手動維護清單,需將區塊中的「auto-anchor-links-list」類別移除,將其轉換為 WordPress 核心清單區塊。

6. 如何設置特定標題的錨點文本?
- 將「Manual Anchor」區塊樣式應用於標題,然後設置其錨點文本屬性為 `[空]`(不包含在自動錨點清單中)或`[“custom-anchor”]`(包含在自動錨點清單中)。

7. 如何排除特定標題不在自動錨點清單中?
- 在任何標題區塊中添加「no-auto-anchor」類別即可排除不包含在自動錨點清單中。

原文外掛簡介

A block that automatically creates a list of anchor links to headings in a post.
Usage
Insert the “Auto Anchors Links List” block where you’d like it to appear. A post can only contain one “Auto Anchor Links List” block. Preview the post to view the list display and test links.
Heading levels h2-h6 are supported. Heading levels (h2 -> h3 -> h4) must be ordered properly; sub-heading levels are indented in the list.
The “Auto Anchors Links List” block is automatically updated when headings in the post are modified. Any manual edits to the list will be overwritten. To maintain the list manually, remove the “auto-anchor-links-list” class from the block to transform it into a WordPress core list block.
Additional Controls
Apply the “Manual Anchor” block style to a heading and then set its anchor text attribute to:

[empty] A plain heading tag (omitted from auto anchors list)
[“custom-anchor”] A persistent custom anchor; useful for permalinks (included in auto anchors list)

Add a “no-auto-anchor” class to any heading block to omit it from auto anchors list.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Auto Anchor Links List」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Easy Table of Contents 》這是一款易於操作、注重功能的Easy Table of Contents外掛,可讓您在您的文章、頁面和自定義文章類型中插入目錄。, 首頁 | 幫助和技術支援 | 文檔 | 專業版...。
  • Table of Contents Plus 》一款功能強大但使用者友好的外掛程式,可自動建立適用於長頁面(和自訂文章類型)的上下文索引或目錄(TOC)。此外,這款外掛還能輸出整個站點上的頁面和/或...。
  • 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...。
  • Rich Table of Contents 》RTOC是一個來自日本的目錄生成外掛,讓任何人都可以輕鬆地創建目錄。除了擁有傳統目錄外掛的功能外,它設計了精美易用的介面。實時預覽具有直觀的使用者介面...。
  • Table Of Contents Block 》目錄是整個內容的路線圖,有助於讀者找到某個特定部分的頁面,並直接跳轉至該部分。使用目錄區塊(TOC),您可以改善閱讀體驗、可訪問性、頁面SEO分數,並幫...。
  • SimpleTOC – Table of Contents Block 》在您的文章和頁面中加入目錄區塊。該 TOC 是包含文章或頁面中所有標題的嵌套連結列表。只需添加一個區塊並搜索“SimpleTOC”或“TOC”即可使用它。, toc 的最大深...。
  • Joli Table Of Contents 》, Joli Table of Contents 是最佳的適用於 WordPress 的 SEO-friendly 目錄外掛程式。它既能提供良好的效能表現和用戶友好的體驗,同時也提供多種自定義選項...。
  • TOP Table Of Contents 》, 此為 TOP Table of Contents WordPress 外掛,可以輕鬆地在WordPress文章和頁面中添加 SEO 友好的目錄表,使您的網站更具吸引力,改善您的網站在Google上的...。
  • Heroic Table of Contents 》WordPress目录插件, Heroic目录是为您的网站添加目录的最简单方法。, 目录或索引部分可让读者轻松浏览您网站上的页面。Heroic目录块自动检测页面上的标题,提...。
  • Table of Contents Block 》在 Gutenberg 編輯器中創建目錄,以及提供各種樣式控制和設置。, 功能, , 階層式檢視, 符號或數字列表, 包含或排除標題, 可折疊式, 個別樣式選項, , 階層式檢...。
  • YAHMAN Add-ons 》網頁瀏覽次數、Google AdSense、Analytics、社群媒體、個人檔案、目錄表、相關文章、網站地圖、SEO、JSON-LD 結構化資料、Open Graph 協定(OGP)、部落格卡...。
  • Multipage 》Multipage for WordPress可以讓您將文章分為多個子頁面,每個子頁面有自己的標題,並在第一個或每個子頁面上提供目錄。, 讓您的文章更有序!, 不再需要極長的...。
  • GutenTOC – Advance Table of Content for Gutenberg 》GutenTOC 外掛是一個可自訂的 SEO 友善型 Gutenberg 區塊編輯器,它會掃描頁面或文章內容中的標題並自動產生目錄 (TOC)。, 支持未來的發展, 如果您喜歡這個外...。
  • WP Sitemap 》在文章或頁面中(推薦使用頁面),加入短碼即可將您的網站地圖以頁數列出。, 簡單短碼範例, [wp_sitemap], 特色, , 支援文章和頁面, 支援頁數,並可選擇在頂...。
  • Table of Contents Creator 》Table of Contents Creator (TOCC) 可以自動生成高度可自定義的動態站點全域目錄,一直保持最新狀態。所有條目都是可導航的,使您的網站非常適合SEO優化。TOC...。

文章
Filter
Apply Filters
Mastodon