• I want to use the built in gallery-feature, but I don’t want the thumbnails to link to attachment.php, but directly to the images just as you can do when inserting separate thumbnails.

    Tried with replacing wp_get_attachment_link($id, $size, true); with wp_get_attachment_url($post->ID) (just a thought..) but it had no effect.

    Anyone who can help?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Have gallery thumbnails linked directly to file URL instead of attachment ID?’ is closed to new replies.