Support » Fixing WordPress » Disable tooltips in twenty ten navigation

  • Resolved manfredtex

    (@manfredtex)


    I am not really sure why the Twenty Ten navigation shows tooltips. It seems redundant since the tooltip displays the same text as the page name. I looked on the WP forums and couldn’t find an answer. I added this code to the functions.php of the twenty ten theme and the tooltips are now gone.

    function remove_title($input) {
    return preg_replace_callback(‘#\stitle=[“|\’].*[“|\’]#’,
    create_function(
    ‘$matches’,
    ‘return “”;’
    ),
    $input
    );
    }
    add_filter(‘wp_list_pages’,’remove_title’);

Viewing 1 replies (of 1 total)
  • Hey, I also want to remove the tool-tips, but where in functions.php do I add the code?

    I know nothing about .php

    Regards,
    Danelle

Viewing 1 replies (of 1 total)
  • The topic ‘Disable tooltips in twenty ten navigation’ is closed to new replies.