Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #690177

    Hi Guys, is it possible to disable the alt text showing on a slider (especially as the text can linger for a few seconds)? Normally it’s no problem but on this photography site it destroys the effect on the front slider.


    Hey Annemarie,

    Please add following code to Functions.php file in Appearance > Editor

    function remove_title_attr(){
    jQuery('.avia-slideshow a').removeAttr('title');
    jQuery('.avia-slideshow img').removeAttr('title');
    add_action('wp_footer', 'remove_title_attr');

    Best regards,


    That worked perfectly, thank you Yigit.
    NOTE FOR OTHER READERS you might want to clear your cache if it doesn’t work first time – that’s what we had to do.



    You are welcome, glad we could help!
    Let us know if you have any other questions or issues and enjoy your weekend!


Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Disable alt text on sliders’ is closed to new replies.