[WordPress] 外掛分享: PLTarget – Post Links Target

首頁外掛目錄 › PLTarget – Post Links Target
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.5+ PHP 7.2+ v1.0.0 上架:2026-07-16

內容簡介

PLTarget 外掛可讓您設定文章中的連結在不同的視窗中開啟,包括內嵌的 iframe、外部彈出視窗或獨立的瀏覽器視窗/分頁。使用者可依檔案類型自訂視窗開啟方式,提升網站的使用體驗。

【主要功能】
• 支援多種視窗開啟方式
• 自訂連結的視窗類型
• 排除特定連結不受外掛影響
• 處理主內容與自訂欄位中的連結
• 自動識別安全性限制的網站

外掛標籤

開發者團隊

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

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

原文外掛簡介

Opens post links inside a target window of one of the following types: an internal embedded iframe, an external popup window, a separate browser window/tab. The type of window to be opened is mapped to the file extensions in the links via the plugin settings. By default, links to images and PDF files open in the internal embedded window, while all others open in an external popup or browser window (except for “technical” links to ZIP files and similar assets, which are downloaded within the current window).
Exceptions are provided for these rules in certain cases. For instance, to prevent the plugin from handling frontend UI elements within the post container (such as edit buttons), you can add their URL fragments to a dedicated exclusion list. Additionally, you can specify websites that block their pages from being loaded inside iframes due to security policies (the plugin will automatically open these in a separate browser window instead).
The plugin processes links from both the main “post_content” field and custom fields (including in Multisite mode). It scans links exclusively inside the post container and ignores standard UI components (menus, widgets, pagination, etc.).
Out of the box, target window assignment is configured only for links with a user-defined target=”_blank” attribute. It is assumed that authors decide which links should open externally, while the plugin simply manages the appearance of these windows. However, you can change this setting to apply the plugin’s logic to all links within a post.

延伸相關外掛

文章
Filter
Mastodon