Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Target Blank to Button Block

Mô tả

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)

Ảnh màn hình

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

Cài đặt

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

Hỏi đáp

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 🙂

Đánh giá

29 Tháng 3, 2019
en attendant l’intégration dans la prochaine version Merci 🙂
22 Tháng 3, 2019
Plugin simple à utiliser. Merci pour cette contribution JB 😉
16 Tháng 3, 2019
On l’installe, un petit blank en classe additionnelle et hop ! Elle fait son boulot parfaitement ! Merci 😀
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Target Blank to Button Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Target Blank to Button Block” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Target Blank to Button Block” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

0.1

  • Plugin initial commit. Works fine 🙂