Hi,
I’m looking for a way to remove the hover text from images. I searched for a solution here, but the suggested codes in the other threads seem not to work. Any solutions?
Hi FadingReality!
Have you tried adding following code to Functions.php file in Appearance > Editor ?
function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('a').removeAttr('title');
jQuery('img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_tooltip');
Best regards,
Yigit
Yeah that worked, thank you :)