Dear Support Team,
I wonder if I can avoid somehow that the name of an image is displayed by mouseover?
I don’t mean the description of an image like it is displayed in a gallery function. I refer to “normal” images, like in teasers or headers.
Thanky so much for your help,
Sandra
Hey Sandra!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery('img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
Best regards,
Yigit
Hey Sandra!
1- functions.php is the correct file
2- Yes it is
3- You should set correct permission. Please see – http://codex.wordpress.org/Changing_File_Permissions
You can contact your service provider and they can do it for you. You can connect and edit the file via FTP as well.
Regards,
Yigit