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

    Hi,
    Is there a way to not showing the title of the image when passing the mouse on it ?

    Regards,
    C.

    #693042

    Hey Janus,

    Try adding this at the very end of your theme functions.php file:

    
    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    	jQuery('img').removeAttr('title');       
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Best regards,
    Jordan

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