Gallery Custom Links

Descripción

Gallery Custom Links te permite enlazar imágenes de galerías a una URL específica. Probado con WordPress Gallery, Gutenberg, Meow Gallery y otros. Página oficial: Gallery Custom Links.

Uso

Two fields are added to your images, in your Media Library: Link URL and Link Target. If, at least, the Link URL is set up, this image will link to that URL every time it is used within a gallery. Lightbox will be automatically disabled for those images.

Compatibilidad

It currently works with the native WP Gallery, the Gutenberg Gallery, and the Meow Gallery. It should actually work with any gallery plugin using the ‘gallery’ class and Responsive Images (src-set). Let me know if you would like more galleries to be supported, it should be easy.

Filtros

Puedes optimizar (ejecutar el plugin solo en las páginas donde lo necesites) y hacer compatibles más galerías (por medio de clases CSS) fácilmente mediante el uso de filtros. Para saber más sobre esto, visita la página oficial, aquí: Galería de enlaces personalizados .

Gracias

The motivation to build this plugin came from my users who had issues trying to use WP Gallery Custom Links. I realized that this plugin was working extremely well with the standard gallery, but would require too much rewriting for Gutenberg and other galleries, hence the creation of this plugin. I hope it will help.

Idiomas: Inglés, español.

Capturas

  • Los campos.

Instalación

  1. Sube gallery-custom-links al directorio /wp-content/plugins/
  2. Activa el plugin a través del menú ‘Plugins’ en WordPress

Reseñas

9 de octubre de 2021
This plugin was a really convenient way for me to use pictures as links to other stuff!
2 de octubre de 2021
This is a really useful plugin--easy to use, and helps me to extend the accessibility and flexibility of my galleries. Helps to upload pdf files consistently, which is important because we have a large archive of material to catalogue this way. Works out of the box, just as promised, and we've had no problems even through successive site updates. Thank you for this lovely and useful plugin!
23 de septiembre de 2021
I really enjoy being able to add specific links to photos, and this plugin does that perfectly for me. I've used this plugin for a long time and I've never had an issue. It just works!
16 de septiembre de 2021
It lets me link each image in a nice gallery of photos on my "about" blog page to the blog post it comes from, something that seems simple but doesn't come with the theme. I realized I needed to create duplicate photos for the gallery, because when I used the actual photos from the blog pages it caused a major conflict. Now, probably everybody out there understands this would happen, but I'm a newbie to galleries and the latest wordpress stuff, and this wasn't immediately apparent. But it works great.
5 de septiembre de 2021
This plugin makes it possible to link an image in a (meow) gallery to a page. The image could therefore link to a page with a description or background of the image.
Leer todas las 151 reseñas

Colaboradores y desarrolladores

«Gallery Custom Links» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Gallery Custom Links» ha sido traducido a 2 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Gallery Custom Links» 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

2.0.5 (2021-08-31)

  • Update: Enhanced security and updated common librairies.
  • Info: If you like the plugin, your reviews are welcome here. Thank you 🙂

2.0.4 (2021-07-05)

  • Update: Refresh the UI libraries and common librairies to ensure compatibility with other plugins.

2.0.3 (2021-03-01)

  • Update: New Meow Common (which is needed for compatibility with other plugins).

2.0.2

  • Fix: Autoload was missing.

2.0.1

  • Fix: There were a few issues in this new version.
  • Update: New modernized admin.

1.2.7

  • Add: Remove warnings for PHP 7.4.
  • Update: New versions of DiDom and the Simple HTML DOM Parser.

1.2.6

  • Add: Because we love the W3C, the title has been added to the link.

1.2.5

  • Fix: Avoid errors in the admin.
  • Fix: Add another way to resolve the image ID if none found (https://wordpress.org/support/topic/issue-with-page-links-on-images/), let’s see how it goes.

1.2.3

  • Añadido: Etiqueta para botones CTA.
  • Corrección: Movida la posición de los botones CTA en el DOM.

1.2.2

  • Añadido: Botones CTA para Meow Gallery, Native Galleries y Gutenberg.
  • Add: Filter to… filter which images are actually managed by the plugin 🙂
  • Fix: Hopefully, the Reusable Blocks aren’t broken anymore in the editor (I couldn’t replicate the bug on this new version).

1.2.0

  • Añadido: Esto me lo han preguntado mucho, así que he añadido los ajustes para cambiar los parámetros del plugin fácilmente. Ahora será mucho más fácil hacerlo rápido.

1.1.5

  • Fix: Simpler and probably better REST detection.

1.1.4

  • Fix: Attempt to fix the way autoload is working.

1.1.3

  • Fix: Avoid analyzing the html content if the parser returned a boolean or an empty string.

1.1.2

  • Add: Rel can now be set to nofollow.

1.1.1

  • Update: Defaults set to Output Buffering + HtmlDomParser. Those settings work for most.

1.1.0

  • Update: Using HtmlDomParser fully (which should avoid broken HTML). It is possible to override the plugin hidden options to switch to different mode, but I am trying to find a mode that works for 99% of the users first.

1.0.9

  • Update: Avoid interfering at all with all Ajax/Rest requests.
  • Info: Sorry for the last bunch of updates, some way of modifying HTML works for some, and not for others, and I am still trying to find a solution which works for everyone.

1.0.8

  • Update: Back to OB, maybe there should be an option for that.
  • Update: Get all the images of the page/post content instead of within specific containers previously.

1.0.7

  • Update: Not using OB anymore; going through the content filter (this behavior can be changed internally), better and faster this way.
  • Fix: Avoid issues with static variables which are not registered on older PHP versions.

1.0.6

  • Fix: Now works with the most tenacious lightboxes.
  • Update: The way the HTML was modified to make sure it is compliant.

1.0.5

  • Add: Filter to let the user enables/disables the plugin depending on conditions. Check the official page to know more about this: Gallery Custom Links.

1.0.4

  • Fix: Support images embedded in a few layer of tags before the link tag.
  • Add: Added a class on the a-tag, for the ones who would like to add some styling to linked images. The Meow Lightbox is already handling this, by avoiding showing a zoom cursor when hovering images.
  • Add: Compatibility with extra galleries is made through a filter (which anybody can use) and the file mgcl_extra.php.
  • Info: If you like the plugin, your reviews are welcome here 🙂 Thank you!

1.0.2

  • Fix: Now works with thumbnails in src.
  • Update: Optimization (does not regenerate pages which aren’t impacted by changes).
  • Update: DiDom from 1.13 to 1.14.1.

1.0.0

  • Update: If the ID of the Media is not found in the HTML, it will resolve it through the DB from the filename.

0.0.1

  • Primer lanzamiento.