[WordPress] 外掛分享: Add IDs to Header Tags

首頁外掛目錄 › Add IDs to Header Tags
20+
安裝啟用
★★★★★
5/5 分(3 則評價)
4513 天前
最後更新
問題解決
WordPress 3+ v1.0 上架:2013-12-02

內容簡介

這個外掛相當簡單,但對於喜歡寫長博客文章的人非常有用。它會為您內容中的每個標題標籤添加一個ID,但僅在該標籤還沒有ID的情況下才會添加。這樣,您的使用者就可以直接連結到內容中的特定部分。

此外,它還會為每個添加ID的標題附加一個以 "#" 為內容的鏈接。這個鏈接有一個 "deep-link" 的類別,如果您喜歡,可以輕易隱藏它。未來版本可能會在「設置 > 閱讀」中添加一個選項來隱藏此鏈接。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Add IDs to Header Tags」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A rather simple plugin, but tremendously useful for folks that like to write longer blog posts to be shared. This will add an ID to each header tag in your content, but only if it doesn’t already have an ID. This will let your users deep-link to specific sections within your content.
It will also append a link with the content of # to each header that it adds an ID to. The link has a class of deep-link though, so it’s easy to hide if you prefer. A future release may add an option in to Settings > Reading to hide this link.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon