前言介紹
- 這款 WordPress 外掛「Auto Anchor Links List」是 2024-09-24 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2024-09-25,距離現在已有 518 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 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 環境。
延伸相關外掛(你可能也想知道)
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 ...。Breadcrumb NavXT 》Breadcrumb NavXT 是受歡迎的 WordPress 外掛 Breadcrumb Navigation XT 的後繼者,從頭開始編寫以比其前輩更好。此外掛可為您的 WordPress 網誌或網站生成定...。
WP Go Maps (formerly WP Google Maps) 》這是一款易於使用的 Google 地圖和 Open Layers 地圖外掛程式(包括地圖區塊)!, 使用提供的短代碼,快速輕鬆地向 WordPress 文章和/或頁面添加自定義 Googl...。PDF Embedder 》這款外掛程式可以上傳 PDF 檔案,並將它們直接嵌入到您網站的文章和頁面中。添加圖像一樣簡單!您的 PDF 檔案會自動調整到其自然大小和形狀。您還可以指定寬...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
Layout Grid Block 》想要輕鬆設定自訂欄位寬度和位置的列排版嗎?也許您想要在文章中將內容對齊全局佈局網格。使用此佈局網格區塊,您可以實現以上兩個目標,或是其中一個。此外...。
Email Address Encoder 》這是一個輕量級的外掛,可以保護純文字的電子郵件地址和 mailto 鏈結免受電子郵件抓取機器人獵取,透過將它們編碼成十進位和十六進位實體。對文章、頁面、留...。
Crowdsignal Forms 》The Crowdsignal Forms 外掛可以讓您直接在區塊編輯器中建立和管理投票。, 建立投票與編寫項目清單一樣簡單快速,不再需要嵌入區塊或複製、貼上。, 自訂投票...。
Blocks Animation: CSS Animations for Gutenberg Blocks 》Blocks Animation 可以讓您以優雅的方式,為所有的 Gutenberg 區塊添加 CSS 動畫。, Blocks Animation 的用戶介面非常原生且直觀,您甚至不會注意到它已經被...。
Superb Addons: Blocks, Patterns & Theme Designer for the Block Editor & FSE 》使用 Superb Gutenberg Blocks,只需幾秒鐘即可將全新的優秀功能添加到 WordPress 編輯器中!, Superb Gutenberg Blocks符合GDPR,且輕量且響應式。, 外掛是...。
Genesis Blocks 》Genesis Blocks 是一個能夠在 Gutenberg 段落編輯器中使用的頁面組件集。透過使用段落編輯器和 Genesis Blocks,您可以更加靈活地建立各種網站,並快速推出!...。
Flexible Table Block 》合併和分割儲存格, 您可以從多個選定的儲存格中合併或分割儲存格。, 靈活的樣式設置, 您可以針對表格、儲存格和標題標籤分別設置各種樣式。, 高級使用介面, ...。
Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
Snow Monkey Editor 》Snow Monkey 編輯器是一個可以擴展區塊編輯器的外掛。, GitHub:https://github.com/inc2734/snow-monkey-editor/, 格式化程式, 在工具列中點擊 Snow Monkey ...。
Snow Monkey Blocks 》Snow Monkey Blocks 是一個為 Gutenberg 所設計的內容區塊外掛程式。使用此外掛,您可以快速且輕鬆地建立和發佈登陸頁面或高度設計的頁面,而且您不需要撰寫...。
