Linking gallery images to parent post and not the image/gallery
Hey everyone –
Right now we’re using the gallery shortcode to output a 4-column gallery of thumbnails like so:
But have noticed that the thumbnails are linking to a permalink for each image. We’d ideally like to link to the parent PAGE instead. Is this possible?
Is there a setting for the shortcode that would do the first instead of the second? The only option I’ve seen is for a link attribute being set to “file” … and haven’t found another possible attribute like url, or permalink, or parent. Any ideas?
- The topic ‘Linking gallery images to parent post and not the image/gallery’ is closed to new replies.