how I add a custom link to each image in wordpress gallery


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 de different. I can’t use plugins, someone has suggested me to 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

, , sialfa 4 years 2019-11-02T05:20:00-05:00 0 Answers 84 views 0

Leave an answer