I am brand new to word press. I bought Enfold, watched a few videos and up and running.
I would like to know how I can avoid the image names being shown when hovering over them.
Can you please walk step by step? I googled and saw some rerefernce to PHP codes and have no idea what it is and where to put them.
Best,
Ganesh
Hi Ganesh!
Please add 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');
Regards,
Yigit