Linking Images to Post Page from Categorized Gallery

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

Leave a Reply

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