Instagram Widget – Remove tooltip on hover
-
Hello.
I would like NOT to display the “tootip” filled with image title on hover over images from the gallery of the Instagram Widget.At the moment it won’t display because I edited the folowing lines in the widget file directly (wp-content>plugins>ocean-extra>includes>widgets>instagram.php ) where I removed the
titleattribute but I believe it’s not best practice to edit plugin files directly as I’ll have to re-do it again after every update.$output .= '<li><a href="' . esc_url( $link ) . '" target="' . esc_attr( $target ) . '" ><img src="' . esc_url( $item[$size] ) . '" alt="' . esc_attr( $item['description'] ) . '" title="' . esc_attr( $item['description'] ) . '" /></a></li>';I hope this can be done in a clean way.
Thanks !The page I need help with: [log in to see the link]
The topic ‘Instagram Widget – Remove tooltip on hover’ is closed to new replies.