Tagged: image titles
Hi,
When we hover over the images it shows the image title under which we have saved the image in the library.
How can we hide it permanently?
I have used the following code in function.php but it didn’t work.
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘img’).removeAttr(‘title’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_script’);
*/
Please can you recommend a solution as it looks unprofessional when it shows the file names.
Looking forward to your response.
Kind regards,
http://www.projectt.co.uk