ronaldb73
Member
Posted 3 years ago #
When you move your mouse over a category and wait a second, some text shows up saying: click to see all posts in this category (or something like that, on my site it shows up in dutch). How can I prevent wordpress from showing this text?
see: http://www.uitgaandenhelder.nl (the categories are called: kids,film,theater,muziek,...)
ClaytonJames
Member
Posted 3 years ago #
I think it may be in /wp-includes/classes.php around line 1317
$link .= 'title="' . sprintf(__( 'View all posts filed under
%s' ), $cat_name) . '"';
( 'Bekijk alle berichten ingedeeld bij %s' )
I thought it was theme dependent, but maybe not. Sorry I can't be more positive about it. I'm just not sure if that is the correct spot or not.
ronaldb73
Member
Posted 3 years ago #
That seems to be it. Been trying a bit and fixed it, by removing the following code:
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 )) . '"';
Thanks for helping out.