前言介紹
- 這款 WordPress 外掛「LH Paragraph Ids」是 2015-03-18 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2022-08-08,距離現在已有 998 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.2 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
html | HTML5 | links | fragment | paragraphs |
內容簡介
LH Paragraph Level IDs 外掛會為部落格貼文中的每個段落標籤添加一個「id」屬性,為作者和讀者提供額外的功能。
例如:
可以變成
。
請注意,如果元素的 ID 已經存在,它將被保留。值得注意的是,此功能是動態完成的,因此不會在任何時候更改存儲在數據庫中的內容。
此外,還提供了一個選項功能,可以在文章末尾添加一個段落符號的鏈接,像這樣。¶ 查看常見問題解答以啟用此功能。
這些添加功能允許任何人直接鏈接到文章中的該段落。這對於長篇文章非常有用,同時也對 rdf 和語義有用(因為這些技術通常需要識別頁面的某些部分)。
需要 wp_body_open。
請注意,此外掛需要 WordPress 5.2 以及您的主題支持 wp_body_open 鉤子(大多數好的主題都支持)。
喜歡這個外掛嗎?請考慮留下 5 星評價。
喜愛這個外掛或想要幫助 LocalHero 專案嗎?請考慮捐贈。
原文外掛簡介
LH Paragraph Level IDs plugin adds an ‘id’ attribute to each paragraph tag in a blog post, giving the author and readers additional functionality.
So for example,
becomes
.
Note if an id for an element already exists, it is kept. Also note this is done dynamically so ar no time is the content stored in the database changed.
There is also an optional feature to add a link to the paragraph symbol at the end of the post, like this. ¶ See faq for enabling this.
These additions allow anyone to link directly to that paragraph in the post. This is useful for long tracts of text and is also useful for rdf and semantics (in that these technologies often require identification of parts of a page).
Requires wp_body_open
Note this plugin requires wordpress 5.2 and for your theme to support the wp_body_open hook (most good themes do).
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「LH Paragraph Ids」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。