I used the code from this thread to create a plugin that automatically makes a gallery out of images attached to posts with certain categories. It works great, but now I want to make the images link back to their original post page (as opposed to linking to the attachment page or media file). Is there a way to do this?

I have some coding experience, but it’s mostly front end, so please be patient with my lack of PHP knowhow :)

Read more here: Linking Images to Post Page from Categorized Gallery


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: