Gallery Custom Links Pro
Gallery Custom Links allows you to link images from galleries to a specified URL. Tested with WordPress Gallery, Gutenberg, the Meow Gallery and others.
Usage
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.
- jаvascript: This is the fastest, but the links won’t be hardcoded. Only the visitor will experience the links.
Share
Tweet
Share
Share
Share
Comments (0)