• pusbucket

    (@pusbucket)


    There was once a plugin that did this, but it stopped working with 2.9.1.
    Is there a more permanent solution to kill tooltip pop-ups?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am very interested in a way to kill tooltips. I have a menu with child categories and the ugly tooltip just covers the link below and one needs to move the mouse constantly to read. How do I get rid of url tooltips?

    sweylo

    (@sweylo)

    You can always use .attr in jQuery to get rid of them.
    $('a').attr("title", "");

    ChrisKubena

    (@chriskubena)

    Try adding this to your functions.php to remove tooltips from menus:

    //remove tooltips from menu
    function my_menu_notitle( $menu ){
        return $menu = preg_replace('/ title=\"(.*?)\"/', '', $menu );
    }
    add_filter( 'wp_nav_menu', 'my_menu_notitle' );
    add_filter( 'wp_page_menu', 'my_menu_notitle' );
    add_filter( 'wp_list_categories', 'my_menu_notitle' );

    I found this at https://www.dynamicwp.net/articles-and-tutorials/remove-title-attribute-from-wordpress-menu-link/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to kill tooltips?’ is closed to new replies.