plugin-icon

Gallery Custom Links

Gallery Custom Link te permite vincular imágenes de galerías a una URL específica. Probado con WordPress Gallery, Gutenberg, Meow Gallery y otros.
Calificaciones
4.7
Última actualización
June 3, 2024
Versión
2.2.0
Instalaciones activas
40K
Gallery Custom Links

Gallery Custom Links allows you to link images from galleries to a specified URL. Tested with WordPress Gallery, Gutenberg, the Meow Gallery and others. The official page is here: Gallery Custom Links.

Uso

Two fields are added to your images, in your Media Library: Link URL and Link Target (but also, Link Rel and Arial Label). 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.

To do this, the Gallery Custom Links needs to analyze/rewrite your content. Depending on your WordPress, you can pick the most appropriate method (known as engine).

  • HtmlDomParser: Very reliable. It will rewrite your HTML so that the links are hardcoded.
  • DiDom: Same as HtmlDomParser but faster. However, your HTML needs to be perfectly valid.
  • Javascript: This is the fastest, but the links won’t be hardcoded. Only the visitor will experience the links.

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í: Gallery Custom Links.

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.

Instalaciones activas
40K
Probado hasta
6.5.5
Te puedes descargar este plugin para utilizarlo en tu instalación autoalojada de WordPress.