Releases: fernandotellado/legacy-gallery-links
Releases · fernandotellado/legacy-gallery-links
Release list
1.1.0
Setting a link, without a code to memorise:
- New "Do not link this image" tick box beside the URL field, in the media modal and in the attachment editor. It stores the same [none] marker underneath, so galleries built with the old plugin keep working and typing [none] by hand still does exactly what it always did.
- The link fields now sit in a box of their own in the sidebar of the full attachment editor, alongside every other attachment setting. They used to be laid out along the bottom of that screen in a table whose labels did not line up with their own fields, leaving the URL box floating above its label. Declared with show_in_edit => false, so the media modal is untouched.
1.0.0
First public release.
Point each image of a classic [gallery] at any URL you want. The link is set once on the image and used everywhere that image appears.
- Per-image link, target, lightbox handling and extra CSS classes, with site wide defaults for anything the image does not decide.
[none]for an image that should not be clickable.- Reads the same attachment fields as the discontinued WP Gallery Custom Links, so galleries built with it keep working with no re-editing, including its per-gallery shortcode attributes and the
wpgcl_filter_raw_gallery_link_urlfilter. - Gallery link column and filter in the media library.
- Site audit, link verification and CSV export in the Tools tab.
Better than the original: URLs are escaped on output, where the old plugin had a stored XSS hole; the gallery renders once instead of twice, so gallery IDs and CSS stay correct; no JavaScript is needed to keep lightboxes away; and every new window link gets rel="noopener".
Installing: download legacy-gallery-links.zip from the assets below, then upload it in Plugins → Add New → Upload Plugin. Use that one rather than the "Source code" zip, which unpacks into a folder with the version number in its name.