WordPress.org

Ready to get started?Download WordPress

Forums

How to kill tooltips? (4 posts)

  1. pusbucket
    Member
    Posted 4 years ago #

    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?

  2. MikePL
    Member
    Posted 3 years ago #

    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?

  3. sweylo
    Member
    Posted 3 years ago #

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

  4. ChrisKubena
    Member
    Posted 3 years ago #

    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 http://www.dynamicwp.net/articles-and-tutorials/remove-title-attribute-from-wordpress-menu-link/

Topic Closed

This topic has been closed to new replies.

About this Topic