Add Target Blank to Gutenberg Button Block. Provisory fix to add target blank to button blocks.
As of April 2026, Target Blank to Button Block is a WordPress blank plugin with 100 active installations and a 5/5 rating from 3 reviews. It has been downloaded 3.8K+ times in total. Requires WordPress 5.0+ and PHP 5.6+. Available on WordPress.org since 2019. Last updated 2 years ago — may have compatibility concerns. Top alternative: Blank Slate.
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:
blank CSS class(see screenshots below)
| WordPress | 5.0+ requiredTested up to 6.4.8 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.