rafamontoya
Member
Posted 9 months ago #
2.1.2 version comes with this Bug corrected : "in the category page, only that category icon is displayed in front of the title if the post has more than one category."
It really wasn't a bug for me and I need to go back to the old behaviour.
How to override it?
Thanks in advance.
Rafa
http://wordpress.org/extend/plugins/category-icons/
Why not go back to 2.1.1 ?
You can download the version you want here : http://wordpress.org/extend/plugins/category-icons/developers/
If I find some time, I'll add an option in the panel settings to display only the category icon of the category page or not.
rafamontoya
Member
Posted 9 months ago #
Thanks submarine! That would be great!
In the meantime, do you know which are the code lines that make that change? ("now in the category page, only that category icon is displayed in front of the title if the post has more than one category.")
Thanks (a lot) in advance!
BR,
Rafa
I think that's :
if (is_category() AND in_the_loop()) {
$cat = get_query_var('cat');
$category=get_category($cat);
$p['cat'][]=$category->cat_ID;
}
else {
rafamontoya
Member
Posted 9 months ago #
Thanks so much submarine!
You are totally right!
Now it is solved.
BR,
Rafa