このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Target Blank to Button Block

説明

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)

スクリーンショット

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

インストール

  1. Install the plugin and activate.
  2. Got to Appearance > Button block target and choose your options.

FAQ

How to configure the plugin settings?

Plugin settings are available under Appearance > Button block target.

What will happens once the target blank will be available in Gutenberg?

Once the button block target blank feature is released in Gutenberg, the plugin will display a notice on your WordPress Admin to disable it. But even if you leave the plugin active, it won’t break your site, no worries 🙂

評価

2019年3月29日
en attendant l’intégration dans la prochaine version Merci 🙂
2019年3月22日
Plugin simple à utiliser. Merci pour cette contribution JB 😉
2019年3月16日
On l’installe, un petit blank en classe additionnelle et hop ! Elle fait son boulot parfaitement ! Merci 😀
3件のレビューをすべて表示

貢献者と開発者

Target Blank to Button Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Target Blank to Button Block” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Target Blank to Button Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.1

  • Plugin initial commit. Works fine 🙂