Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry I wasn’t able to respond sooner – looking at your page now, I’m actually not seeing any links at all around those images. What value do you have for the custom link? It’s possible the plugin just isn’t finding the link url to swap in the custom link, if the theme is not linking those images for some reason.

    Thread Starter shortfry13

    (@shortfry13)

    Hi there,

    Thanks for responding.

    On the back-end I have an absolute link for each image under the field “Gallery Link URL”. For example, the ostrich painting photo has this link: https://artisticedgeframing.com/exhibitions/current/animals-exhibition/

    Does that make sense?

    If it helps, I can give you a temp login/pass to my site through email so you can see what I’m talking about.

    Thanks again

    It looks like the custom link is being swapped in correctly, but your link is missing the class attribute that should be getting set when that happens. The class that gets added is what is used to disable the shadowbox, which why the shadowbox is still coming up. However, I’m not exactly sure how it could be failing to add the class to the link, as it’s correctly adding a target to the link, and it uses the same pattern matching to add both.

    Can you try disabling your other plugins (particularly the shadowbox) to see if that affects it at all? It may be conflicting. I suspect it might be something else, but that’s a fairly easy thing to check first, and I’d need access to your admin/code to look into it further (you can contact me at [email protected]).

    This turned out to be settings-related: the homepage gallery had ‘link=”none”‘ on the gallery shortcode, so none of the images had links on them, and the other page had preserve onclick events set to true, so it was attempting to open the link in a shadowbox (and not succeeding).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't make links work’ is closed to new replies.