Add a custom link to each image in WordPress gallery

Question

I need to add some partner logo images inside my custom theme. I’m using the WordPress gallery and the get_post_gallery() function to obtain the images URL that I will use to display the single logo images. I’m facing a problem now because I need to add an unique link for each image and these links will be different. I can’t use plugins, someone has suggested that I install custom images gallery plugin, but I’m unable to find a filter I can use or a good tutorial on how to add this possibility to WordPress gallery.
Any help will be appreciated.

0
, , sialfa 2 years 2019-11-02T05:20:00-05:00 0 Answers 61 views 0

Leave an answer

Browse
Browse