7 November 2013 at 05:23
#1298
Christian Thibault
Participant
Hi,
I had the same problem. I used this filter in the functions.php file of my theme and it works fine now.
function modify_attachment_link( $html, $id ) {
$att_title = get_the_title($id);
$html = str_replace( ‘<a href’, ‘<a title=”‘.$att_title.'” href’, $html );
return $html;
}
add_filter( ‘wp_get_attachment_link’, ‘modify_attachment_link’, 10, 2 );
How to Get Support
After you register and login to the site, you may post all plugin support questions in the Support Forum.
If you need to provide private info, please create a ticket and then reply to it using Set as private reply option.
Sign Up
Support is only provided to registered users.
Please login or sign up for a free account.Sign Up Now
Please login or sign up for a free account.Sign Up Now