Hello,
I use the new Gallery System on worpress with a size that need to be always the same. Already ahve it and everything its working good.
The only problem is that I DON'T need the links to the image URL on each image gallery. Just want to insert the [gallery.. ] and have NO images links.
I find the code that set the link on each image.. but don't know what to remove.
<!-- see gallery_shortcode() in wp-includes/media.php -->
<div class='gallery'>");
$i = 0;
foreach ( $attachments as $id => $attachment ) {
$link = isset($attr['link']) && 'file' == $attr['link'] ?
wp_get_attachment_link($id, $size, false) : wp_get_attachment_link($id, $size, false);
$output .= "
<br style='clear: both;' />
</div>\n";
return $output;
}
Thanks,