Forums

Not to show on mouse over box when positioned over categories title (2 posts)

  1. dada44
    Member
    Posted 3 years ago #

    Hi all,

    I'm listing my categories this way:
    <?php wp_list_categories('sort_column=name&title_li=&depth=2&exclude=1139,1158,1157); ?>

    And it works fine. But when I position the mouse over the categories' titles a box appears with the message "View all posts filed under MyCategoryName" in it.
    I don't want any box to pop up, how can I get rid of it?
    If in the Categories Chapter I add a blank space to their description, shows no box when viewed in FireFox but in Safari and Internet Explored the box pops up with the blank space .. which is even worst than showing a message.

    Thanks a ton in advance!!

  2. dada44
    Member
    Posted 3 years ago #

    Just in case somebody need it:

    wp-includes\classes.php

    line 621

    comment or remove these lines

    if ( $use_desc_for_title == 0 || empty($category->description) )
    $link .= 'title="' . sprintf(__( 'View all posts filed under %s' ), $cat_name) . '"';
    else
    $link .= 'title="' . attribute_escape( apply_filters( 'category_description', $category->description, $category )) . '"';

Topic Closed

This topic has been closed to new replies.

About this Topic