Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #502352

    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

    #502361

    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

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