Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Anchor Block

Descripción

Drop the anchor, sailor!

This plugin provides a dedicated Gutenberg Anchor Block so you could generate internal links to each sections of your pages.

Capturas

  • Anchor block in Gutenberg
  • Located in Layout section of the block editor
  • Front-end rendering with an anchor and a custom link menu item

Bloques

Este plugin proporciona 1 bloque.

  • Anchor Block

Instalación

  1. Install the plugin and activate.
  2. Use the block «Anchor block», available in Gutenberg LAYOUT blocks.

Reseñas

5 de junio de 2020
When I started working in WP, I as totally surprised anchors were so restricted and frustrated. This solves that problem simply and straightforwardly.
1 de junio de 2020
...a list of already defined anchors to speed up entering the correct destination link in (for example) a button.
24 de mayo de 2020
Such a simple yet INGENIOUS little plugin that elegantly solves a bugger of an issue with Gutenberg WordPress... inserting "Anchors" (i.e. Page Jumps) into pages. As someone who can edit HTML code quite well, I find it awkward how WordPress makes it to add "anchors" to any place in a document OTHER THAN Headers (Gutenberg has this built in, but JUST for headers). Trying to add the HTML code id="xyz" to anywhere else (text, pictures, etc) forces you to convert the block to pure HTML, thereby losing the block editing structure for all else related to that particular block. So now you have to work with BOTH Block and HTML content on a single page. There is no way to just add the HTML "id code" and keep the existing Gutenberg Block editing structure for all other aspects of the paragraph or picture. Trust me, if I wanted to work in HTML, I would. But there are reasons why I use WordPress and this one caveat of forcing mixed editing styles is just dysfunctional. Enter Gutenberg Anchor BLock! Simply add it to your page, just as you would any other block, just above where you want an anchor point, enter a unique name for the anchor, and voila... you're DONE! A genius of an idea for which the developer, Jean-Baptiste Audras, should get royalties when it becomes a built-in of the next Gutenberg update. See, it truly IS the little things in life that make you the happiest!
2 de abril de 2020
This is a nice method to integrate anchor links in gutenberg editor. However the top spacing is sadly not working for me. I'm using the Astra theme. I placed the anchor block just before a heading
8 de noviembre de 2019
This worked just like I needed it to for sites with sticky headers/menus.
28 de septiembre de 2019
This plugin gives you total freedom with anchor links, using Gutenberg. My advice : follow this WP core developer.
Leer todas las 6 reseñas

Colaboradores y desarrolladores

«Anchor Block» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Anchor Block» ha sido traducido a 6 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Anchor Block» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

0.1

  • Plugin initial commit. Works fine 🙂