-
AuthorPosts
-
July 18, 2014 at 8:44 pm #293132
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!
July 18, 2014 at 8:48 pm #293134Hi 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,
YigitJuly 18, 2014 at 9:05 pm #293144OK, I tried this and refreshed a couple of times but it didn’t work.
July 18, 2014 at 9:08 pm #293147Hi!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Best regards,
YigitJuly 18, 2014 at 9:19 pm #293152This reply has been marked as private.July 18, 2014 at 9:31 pm #293155Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.
