跳到内容

Target Blank to Button Block

v0.1

Jb Audras · 2019年3月16日 上架

Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.

正在使用
100+
评分
5.0 / 5
累计下载
4,430
最近更新
2026年8月28日
3 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 5.6+

贡献者

截图

Plugin settings
Plugin settings
Plugin settings page Location: Appearance > Button block target
Plugin settings page Location: Appearance > Button block target
How to use a CSS class to add target blank only to specific links
How to use a CSS class to add target blank only to specific links

Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.

The target blank feature is already addressed in Gutenberg project GitHub repository. This plugin aims to provide an alternative for those who want this feature now.

Please note that this plugin uses Javascript to add Target blank on Button Block as a fallback.

A screen reader text is also added for better accessibility and a rel="external noreferrer noopener" attribute is added for better security.

It provides two options:

  • Automatically add target blank to ALL Button blocks (default)
  • Only add target blank to links that have the blank CSS class

(see screenshots below)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums