excellent, i need to manually display a gallery
right now it’s linking to attachments, i’ll post how to get the url if i figure it out, then you can just apply it to wherever the caption is
EDIT:
ok see the caption stuff near the end? just surround it with an href like this
<{$captiontag} class='gallery-caption'>
<a href=\"". wp_get_attachment_url($id) ."\">" . wptexturize($attachment->post_excerpt) . "</a>
</{$captiontag}>";
either edit your core file, or stick it in your theme like i am (when sticking, you need to change the final ‘return’ to an echo, & you should probably also remove some of the other parts of the code that return or use if statements)