Changes between Initial Version and Version 1 of Ticket #23298, comment 36
- Timestamp:
- 03/26/2013 01:18:30 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23298, comment 36
initial v1 3 3 If you want to force the link to be directly to the image itself, go to around line 762-ish 4 4 where this code appears... 5 6 {{{ 5 7 $link = isset($attr['link']) && 'file' == $attr['link'] ? 6 8 wp_get_attachment_link($id, $size, false, false) : 7 9 wp_get_attachment_link($id, $size, true, false); 8 10 11 }}} 12 9 13 Change it to just this... 14 15 {{{ 10 16 $link = wp_get_attachment_link($id, $size, false, false); 17 }}} 18 11 19 You should get direct links to the big image after that. 12 20