Hi everyone,
I’m running 2.5.1 and have created a new website for flight simulation screenshots. My question is that each post has a collection of thumbs (check below).
Individual post
Each thumb within the post links through to the attachment which is the full size of the image contained within the template (check link below).
Attachment picture
Since this attachment page displays the full size image I have no need for the image to hyperlink to the raw image file.
Where is the option to stop the attachment generating a link?
I’ve looked inside post_template.php and saw function prepend_attachment($content). Within this is wp_get_attachment_link(0, ‘medium’, false); but the problem is any documentation regarding this doesn’t cover the new 2.5.* version and there’s been a change in the code regarding this function.
Any help would be appreciated!
Thanks,
Ed.