Hi Maria,
Do you refer to the word Cateory on top of the list if you use a widget in sitebar to show all the categories ( blog or products )?
If so, addin your own “title” in the widget, will show your own and not the standard title.
Annie
-
This reply was modified 8 years, 9 months ago by
LogoLogics.
-
This reply was modified 8 years, 9 months ago by
LogoLogics.
If you do not want any widget to show its title what so ever, add this code into you ( child themes!! ) functions.php
function my_repair_categories_empty_title($title, $instance, $base) {
if ( $base == 'categories' ) {
if ( trim($instance['title']) == '' )
return '';
}
return $title;
}
add_filter('widget_title', 'my_repair_categories_empty_title', 10, 3);
blog category. high on the list do not want the word “category”.
I plugged in function.php the code that you wrote me, but does not solve
I also tried to write in additional css
Hi,
Strange I tried the same code myself, and the titles were removed right after saving the code. That code is not meant to be added to CSS just to be clear.
Where exactly did you put that code?
Do you have a child theme with an empty functions.php file in it, or is there already other code in that functions.php?