Hello. In my template I have this: [gallery columns="6" id="' . get_the_ID() . '" include="' . $include . '"] PHP: And it works fine, but I want each of the image thumbnails to open the target URL in new window. Essentially, I want to add a target="_blank" attribute to each image attachment link. I've read through some Wordpress hooks, but this has really been a bump for the last hour or so. Can somebody help?
I have another solution for the same problem. For gallery i have designed a gallery template file and in that i have defined this feature.