Title: 4WP Smart Link
Author: 4wpdev
Published: <strong>12.05.2026</strong>
Last modified: 12.05.2026

---

Шукати плагіни

![](https://s.w.org/plugins/geopattern-icon/4wp-smart-link.svg)

# 4WP Smart Link

 Від автора [4wpdev](https://profiles.wordpress.org/4wpdev/)

[Завантажити](https://downloads.wordpress.org/plugin/4wp-smart-link.1.0.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/4wp-smart-link/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/4wp-smart-link/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/4wp-smart-link/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/4wp-smart-link/#developers)

 [Підтримка](https://wordpress.org/support/plugin/4wp-smart-link/)

## Опис

**4WP Smart Link** adds inspector controls and toolbar shortcuts so editors can:

 * Attach a custom URL to a Cover block output.
 * Use a dynamic “current post” permalink inside Query Loop contexts.

Frontend markup wraps the rendered Cover block in a standards-compliant anchor when
a URL resolves.

### Frontend markup

When a link is output, the plugin wraps the Cover block with an `<a>` element:

 * Base class: `forwp-smart-link-wrapper`
 * Block modifier (Cover): `forwp-smart-link-wrapper--cover`
 * Machine-readable hint: `data-forwp-smart-link="cover"`

Themes may style `.forwp-smart-link-wrapper` globally or scope overrides per modifier.

### Developer / pre-release checklist

Before uploading banners or screenshots:

 * Manual QA in the block editor: custom URL, reset, dynamic “Post Link” inside 
   a Query Loop, open-in-new-tab, nofollow / relation field, accessibility label.
 * Frontend: confirm `<a>` `href`, `rel` when target is `_blank`, and no empty wrapper
   when URL resolves empty.

## Блоки

Цей плагін надає 1 блок.

 *   4WP Smart Link Editor extensions for 4WP Smart Link on supported core blocks.

## Встановлення

 1. Upload the plugin folder to `wp-content/plugins/` or install the ZIP through **
    Plugins  Add New**.
 2. Activate **4WP Smart Link** through the Plugins screen.

## Часті питання

### Does this replace native Cover linking?

Cover does not provide the same link semantics; **4WP Smart Link** layers an `<a
>` wrapper server-side.

### Does it depend on other 4WP plugins?

No. It runs standalone.

### Will the editor preview match the front end?

The link wrapper is applied on the **front end** only (via `render_block`). The 
block canvas does not wrap Cover in the same `<a>`, so spacing or theme link styles
might differ slightly until you preview the published page.

### Accessibility: card-as-one-link pattern

Wrapping the whole Cover in an `<a>` is valid when inner blocks do **not** contain
other links or interactive controls. Nested `<a>` elements are invalid HTML and 
hurt accessibility—avoid links/buttons inside a Cover that already has Smart Link
enabled.

### SEO `rel` when opening in a new tab

For `target="_blank"` the plugin adds `noopener` and `noreferrer` to `rel` if missing,
while preserving your `nofollow` and other tokens.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“4WP Smart Link” — проект з відкритим вихідним кодом. В розвиток плагіну внесли 
свій вклад наступні учасники:

Учасники

 *   [ 4wpdev ](https://profiles.wordpress.org/4wpdev/)
 *   [ Anatoliy Dovgun ](https://profiles.wordpress.org/anatolikkk/)

[Перекладіть “4WP Smart Link” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/4wp-smart-link)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/4wp-smart-link/), перегляньте
[сховище SVN](https://plugins.svn.wordpress.org/4wp-smart-link/) або підпишіться
на [журнал розробки](https://plugins.trac.wordpress.org/log/4wp-smart-link/) за 
допомогою [RSS](https://plugins.trac.wordpress.org/log/4wp-smart-link/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.0.0

 * Initial release with Cover block support (custom URL, dynamic Query Loop link,
   toolbar + inspector).
 * Documented stable frontend classes (`forwp-smart-link-wrapper` + `--cover`, `
   data-forwp-smart-link`); editor uses `forwp-smart-link-cover-panel*` classes.
 * Translation template: `languages/4wp-smart-link.pot`.
 * Frontend stylesheet for predictable `:focus-visible` on the link wrapper (`assets/
   forwp-smart-link-frontend.css`).

## Мета

 *  Версія **1.0.0**
 *  Останнє оновлення **13 години тому**
 *  Активних встановлень **Менше 10**
 *  Версія WordPress ** 6.4 або вище **
 *  Tested up to **6.9.4**
 *  Версія PHP ** 7.4 або вище **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/4wp-smart-link/)
 * Позначки
 * [blocks](https://uk.wordpress.org/plugins/tags/blocks/)[cover](https://uk.wordpress.org/plugins/tags/cover/)
   [gutenberg](https://uk.wordpress.org/plugins/tags/gutenberg/)[link](https://uk.wordpress.org/plugins/tags/link/)
   [query loop](https://uk.wordpress.org/plugins/tags/query-loop/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/4wp-smart-link/advanced/)

## Оцінки

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/4wp-smart-link/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/4wp-smart-link/reviews/)

## Учасники

 *   [ 4wpdev ](https://profiles.wordpress.org/4wpdev/)
 *   [ Anatoliy Dovgun ](https://profiles.wordpress.org/anatolikkk/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/4wp-smart-link/)