Is there anyway to hide the image hover from showing coding information?
I have tried to see if this problem has already been addressed but I can’t seem to find anything.
Kind-of hard to explain, but you can see the example if you view this page, then hover over image # 5
http://walkerwoodworking.com/portfolio-item/kitchens/
all of the other hovers are displaying the caption, but when I add the code it shows the code instead of the caption.
My goal is to add a code to each image so that I can have a Pinterst (pin rich) code and a Houzz code. These are very helpful in making sure that whenever someone pins a picture it will link back to our site (not all pin buttons do this), same with the Houzz button. I don’t really want any titles or captions on the photo’s, it’s annoying, but I can live with the caption but not the code. Thanks!
Hi staceyncgirl!
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');
Regards,
Yigit
OK, I tried this and refreshed a couple of times but it didn’t work.
Hi!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Best regards,
Yigit
Hi!
Please use a child theme to avoid losing the changes you make on theme files – http://kriesi.at/documentation/enfold/using-a-child-theme/
I have added the code to bottom of functions.php file. Can you please try deactivating all active plugins and check if titles get removed?
Regards,
Yigit