[WordPress] 外掛分享: Replace Anchor Target

首頁外掛目錄 › Replace Anchor Target
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
4419 天前
最後更新
問題解決
WordPress 3.0+ v3.1.2 上架:2010-03-03

內容簡介

在 WordPress 內建的所見即所得編輯器中,選擇「在新視窗中開啟連結」會在錨點標籤中添加 target=”_blank” 屬性,破壞了 XHTML 嚴謹的合規性。這個外掛能透過取代目標屬性為一般 class 屬性,再使用簡單的 jQuery 腳本在新視窗中開啟連結,以解決此問題。這個方法能夠使 XHTML 1.0 Strict 正確驗證。

授權

以 GNU General Public License 條款發布。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Replace Anchor Target」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Selecting “Open link in a new window” in the builtin WordPress WYSIWYG editor breack XHTML strict compliance by adding the attribute target=”_blank” to anchor tags. This plugin fixes the problem by replacing the target attribute with a common class attribute and then using a simple jquery script to open the link in a new window. This method allows for correct validation using XHTML 1.0 Strict.
License
Released under the terms of the GNU General Public License.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon