Make Cover, Group, and Column blocks fully clickable in Gutenberg and Query Loop—custom URL or link to the current post in each card. No wrapper block, no custom code.
A plugin by 4wp.dev.
- Clickable post cards in a Query Loop
- Cover heroes that open a landing page or the current post
- Group or Column layouts that act as one big tap target
- Select a Cover, Group, or Column block.
- Open Smart Link in the block toolbar.
- Choose Custom Link or Post Link (inside a Query Loop post template).
- Use Preview or the published page to test clicks.
Smart Link is applied on the front end. The editor canvas may not match the live page—use Preview when you verify behavior.
Inner links: If the block has no other links inside, the whole block opens your URL. If you added a post title, buttons, or terms, those links stay separate; clicks on empty space open your Smart Link URL.
- WordPress.org — recommended for production sites.
- From source: clone this repo, run
npm install && npm run build, then activate the plugin.
- Post Link works inside a Query Loop post template only.
- Accessibility: one link for the whole block when possible; inner buttons and links stay focusable when present.
- New tab:
noopener/noreferrerare added when needed.
Full FAQ: plugin page.
| Product page | 4wp.dev/plugin/4wp-smart-link |
| WordPress.org | wordpress.org/plugins/4wp-smart-link |
| Support | Plugin support forum |
Anchor and host modes, CSS classes, and filters are documented in readme.txt under Other Notes.
npm install
npm run buildEditor build output: build/editor/. WordPress.org listing assets: .wordpress-org/assets/.
GPL v2 or later. See LICENSE.

