Back to top

Affiliate Link: Interested In a Useful Tables For Amazon Products and More? Check Out:

Amalinks Pro

Linking Gallery Images To New URL (Website Linking)

Featured Tiles
As an Amazon Associate we earn from qualifying purchases made on our website. If you make a purchase through links from this website, we may get a small share of the sale from Amazon and other similar affiliate programs. You can read our complete legal information for more details.

Gallery in Gutenberg only allows you to add a text field over the gallery and then link that text where you would like to divert the user. The thing is if you make nice graphically rich images then you don’t need the text and definitely don’t want the link over the picture.

I found a free plugin for now that allows this functionality. I am looking at ways to add but it is a core WordPress function and block and not a theme related issue.

Plugin Name: Gallery Custom Links

Example Linked Gallery Images

This is done inside when you add an image to the gallery on the side is now a link option, just make sure to remove the text.

If you go over your row count you can add custom CSS to fix the height issue

.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item {
    height: calc((100% - 32px)/3);
}

About Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals! Read More About Me...

My Posts | Website

Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals! Read More About Me...

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Content