Title: Block Anchor Support
Author: Ashkar
Published: <strong>6 d'abril de 2025</strong>
Last modified: 7 d'abril de 2025

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/block-anchor-support_88bbfa.svg)

# Block Anchor Support

 Per [Ashkar](https://profiles.wordpress.org/ashkar/)

[Baixa](https://downloads.wordpress.org/plugin/block-anchor-support.zip)

 * [Detalls](https://ca.wordpress.org/plugins/block-anchor-support/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/block-anchor-support/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/block-anchor-support/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/block-anchor-support/#developers)

 [Suport](https://wordpress.org/support/plugin/block-anchor-support/)

## Descripció

**Easily add anchor links to any Gutenberg block — no custom code required.**

Block Anchor Support is a lightweight and powerful plugin that lets you assign custom
anchor IDs to **any block in the WordPress Block Editor (Gutenberg)**. With anchor
links, you can create internal page navigation, build tables of contents, link to
specific sections, and improve accessibility and user experience.

**Key Features:**

 * Add anchor ID support to _all_ Gutenberg blocks
 * Works seamlessly with native WordPress UI
 * Prevents duplicate anchor IDs
 * Auto-suggests unique IDs based on content
 * Ideal for single-page websites, FAQs, documentation, and long-form content

No more editing HTML manually — just add your custom ID in the Block Inspector and
start linking.

**Use Cases:**

 * One-page websites
 * Jump links in blog posts
 * Table of contents navigation
 * Linking to headings or custom sections
 * Smooth scrolling (when paired with a compatible theme or script)

**Why use Block Anchor Support?**

Unlike other plugins that only work with headings or specific blocks, this plugin
adds universal anchor ID support across _all_ blocks — including paragraphs, images,
groups, and custom blocks.

## Instal·lació

 1. Upload the `block-anchor-support` plugin to your WordPress site.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. You can now add anchor IDs to all Gutenberg blocks in your posts and pages.

## PMF

### How do I add an anchor link to a block?

You can add a custom anchor ID for each block directly in the **Block Inspector**(
on the right sidebar) in the Gutenberg editor. When editing a block, look for the«
Anchor» field in the «Advanced» settings section. Enter your desired anchor ID there,
and the block will automatically receive this anchor ID in the rendered HTML.

### Can I edit the anchor ID later?

Yes, you can update or modify the anchor ID for any block at any time by revisiting
the **Block Inspector** and editing the value in the «Anchor» field.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Block Anchor Support» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ Ashkar ](https://profiles.wordpress.org/ashkar/)

[Traduïu «Block Anchor Support» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/block-anchor-support)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/block-anchor-support/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/block-anchor-support/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/block-anchor-support/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/block-anchor-support/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.2

 * Added support for unique anchor ID generation.
 * Improved performance and added checks for duplicate anchors.
 * Refactored JavaScript code for better readability.

#### 1.1

 * Initial release.

## Meta

 *  Versió **1.2**
 *  Darrera actualització **fa 1 any**
 *  Instal·lacions actives **Menys de 10**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/block-anchor-support/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/block-anchor-support/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/block-anchor-support/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/block-anchor-support/reviews/)

## Col·laboradors

 *   [ Ashkar ](https://profiles.wordpress.org/ashkar/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/block-anchor-support/)