Multiple category icons

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Multiple category icons

Postby enderandrew » 13 Jun 2012, 12:51

Here is an example:

http://blindscribblings.com/category/comics/

Since there are posts that are tagged with more than one category, the category view is showing multiple category icons. That would make sense for an individual post which is in multiple categories, but the single category view show only show the icon for that category.
enderandrew
 
Posts: 47
Joined: 05 Jun 2012, 10:55

Re: Multiple category icons

Postby sayontan » 13 Jun 2012, 14:00

That would be a problem with the Category Icons plugin. Anyway, since the plugin hasn't been updated in 3 years, here is what you can do:
1. Open actions.php
2. Look for the function suffusion_get_category_information.
3. You will see this code:
Code: Select all
   if (function_exists('get_cat_icon')) {
      $ret .= get_cat_icon('echo=false');
   }

4. Change it to:
Code: Select all
   if (function_exists('get_cat_icon')) {
      $cat = get_queried_object_id();
      $ret .= get_cat_icon('echo=false&cat='.$cat);
   }
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Multiple category icons

Postby enderandrew » 13 Jun 2012, 16:09

I realized after posting that might be the default behavior of the plugin.

Thank you! When I'm less broke I'll definitely be hitting up the donate button. The theme is amazing, as is your support.
enderandrew
 
Posts: 47
Joined: 05 Jun 2012, 10:55

Re: Multiple category icons

Postby submarine » 25 Aug 2012, 12:09

Hi,

I have updated my plugin Category Icons the way enderandrew wanted. :)
And if for any reasons it would not work, give a try to my other plugin : Category Icons Lite. I made a tutorial to make it works with Suffusion.

Anyway, you can contact me if you have an issue with any of my plugins (read my support page on my website).
submarine
 
Posts: 4
Joined: 25 Aug 2012, 12:01

Re: Multiple category icons

Postby janbletz » 13 Nov 2012, 01:55

I read it is possible to display one icon per category.

I'd like to do this with Suffusion. Does anyone have any suggestions how?

I have set the max. to 8 (using cat icons light 1.2), but it doesn't seem to work. I want to display the hierarchy of my categories. E.g. I have articles (icon: a pen). Some articles are columns (a pen and a megaphone) and others are interviews (a pen and a microphone) etc. All I get is one icon per category. A pen for articles, a megaphone for columns etc.

I've also sent a mail to submarine.

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Multiple category icons (No bug!)

Postby janbletz » 13 Nov 2012, 04:44

BTW: I see this is filed under bug report, not my intention!

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Multiple category icons

Postby sayontan » 13 Nov 2012, 06:50

Janbletz,
Have you tried the plugin author's support? This is the link: http://www.category-icons.com/troubleshooting/
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Multiple category icons

Postby janbletz » 13 Nov 2012, 10:28

I have, but he (or she) has not been very eh... responsive.

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam


Return to Bug Reports

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron