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.