WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Disable tooltips in twenty ten navigation (2 posts)

  1. manfredtex
    Member
    Posted 3 years ago #

    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');

  2. Razer2007
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic