跳到内容

Hyperlink Group Block

v2.1.1

Daniel Floeter · 2021年7月7日 上架

Make a group of blocks clickable: wrap a card, teaser or post tile with one link (<a>).

正在使用
7,000+
评分
4.3 / 5
累计下载
8.2 万
最近更新
2026年11月5日
14 条评价需要 WordPress 6.6+已测试到 7.1.5PHP 7.2+

贡献者

截图

Hyperlink Group Block in the editor with the native style settings: typography, background hover color, background image and layout.
Hyperlink Group Block in the editor with the native style settings: typography, background hover color, background image and layout.
Set the link URL and open it in a new tab.
Set the link URL and open it in a new tab.
Rendered HTML of two examples. A: a heading and a paragraph, the whole block is one link with target, rel, title and aria-label. B: a paragraph with an inner link, the block becomes a div with a stretched link, so the inner link stays clickable.
Rendered HTML of two examples. A: a heading and a paragraph, the whole block is one link with target, rel, title and aria-label. B: a paragraph with an inner link, the block becomes a div with a stretched link, so the inner link stays clickable.
Block settings: link to the current post inside a Query Loop, and advanced settings for HTML anchor, CSS classes, tab name (target), rel, aria-label and title.
Block settings: link to the current post inside a Query Loop, and advanced settings for HTML anchor, CSS classes, tab name (target), rel, aria-label and title.
Transform blocks or a Group Block into a Hyperlink Group Block and back.
Transform blocks or a Group Block into a Hyperlink Group Block and back.

The Hyperlink Group Block wraps any blocks, like an image, heading and text, with a single link. The whole area becomes clickable, perfect for cards, teasers and call-to-action boxes.

Inside a Query Loop, the block can link to the current post, so every post tile becomes clickable.

Grouping Existing Blocks

Select the blocks, click the block icon in the toolbar and choose Hyperlink Group Block. A Group Block can be transformed into a Hyperlink Group Block and back.

Features

  • Wrap blocks with a link
  • Use the link from the Query Loop Block
  • Transform blocks or a Group Block into a Hyperlink Group Block and back
  • Set rel, title, aria-label and target (open in a new tab or a named tab)
  • Native block supports: colors, link and link hover color, typography, spacing
  • Hover background color and hover text decoration (block option)
  • Inner links stay clickable (stretched link)

Tip Top Press

We’re Tip Top Press and create Gutenberg blocks for WordPress. Read news and background stories on our blog.

Contribute

While using this plugin if you find any bug or any conflict, please submit an issue at Github (If possible with a pull request).

Plums

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

导航

说明

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

© 2026 Plums