Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #293134

    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

    #293144

    OK, I tried this and refreshed a couple of times but it didn’t work.

    #293147

    Hi!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Best regards,
    Yigit

    #293152
    This reply has been marked as private.
    #293155

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.