AVH Extended Categories
The AVH Extended Categories Widget gives you two widgets for displaying categories. One is a replacement of the default category widget to allow for greater customization. The second is a Top Categories widget, which is only available in WordPress 2.8 and higher.
Current Release: Version 2.3.3 Released on: Oct 17, 2009
Download | Donate | Features | Support | Installation | Changelog
Features
The replacement widget gives you the following customizable options:
- Title of the widget.
- Display as List or Dropdown.
- Show number of posts (Count) after the category.
- Hide empty categories.
- Show categories hierarchical.
- Show categories up to a certain depth. (Requires WordPress 2.8 or higher).
- Sort by ID, Name,Count.
- Sort ascending or descending.
- Show RSS link after the category as text or image.
- Select which categories to show. (Requires WordPress 2.5.1 or higher).
The Top Categories widget gives you the following customizable options:
- Title of the widget.
- How many categories to show.
- Display as List or Dropdown.
- Show number of posts (Count) after the category.
- Sort by ID, Name,Count.
- Sort ascending or descending.
- Show RSS link after the category as text or image.
- Select which categories to show. (Requires WordPress 2.5.1 or higher).
Translations
- Czech – Čeština (cs_CZ) by Dirty Mind – http://dirtymind.ic.cz
- Spanish – Español (es_ES) in Launchpad
Download
Version 2.3.3 Released on Oct 17, 2009.
Donate
If you enjoy this plug-in please consider a donation. There are several ways you can show your appreciation:
- Amazon Wish List
You can send me something from my Amazon Wish List which is shown in the sidebar. - Through Paypal.
Click on the Donate button and you will be directed to Paypal where you can make your donation and you don’t have to have a Paypal account.
Installation
Download the archive and extract all in the wp-content/plugins directory. Go to your WordPress administration page, click on Plugins and activate it. Go to the Presentation->Widgets page and drag the widget into the sidebar of your choice. Configuration of the widget is done like all other widgets.
Support
If you have comments/problems/suggestions, see something in the code which is not compliant to the WordPress Plugin Codex, or just want to say “Cool! It works!”, feel free to create a post at the AVH Support Forum
Version 2.3.3
- Bugfix: Validation error on dropdown categories.
Version 2.3.2
- Bugfix: Saving the option didn’t work
- Added translation: Spanish – Español (es_ES)
Version 2.3.1
- Bugfix: Undefined function
Version 2.3
- RFC: You can change the text Select Category, without editing any translation file.
- Bugfix: Selecting one parent wouldn;t show it’s children.
- You can now display only selected categories. This didn’t work properly in an hierachical category structure.
- Added Czech translation.
Version 2.2
- RFC: Internationalization of the plugin.
- Bugfix: W3 Validation Errors when using dropdown categories.
- Added option to exclude categories from displaying instead of including them. (Compliments to: Jose Luis Moya – http://www.alsur.es )
Version 2.1
- RFC: The path for the RSS image can be URI.
Version 2.0.3
- Bugfix: When selecting hierarchy and showing of all levels, the hierarchy wouldn’t be shown.
Version 2.0.2
- Top categories widget caused error in PHP4.
Version 2.0.1
- Reported problem with calling a class by self ()
Version 2.0
- Updated for WordPress 2.8. Unlimited amount of Extended Categories widgets is now possible.
- In WordPress 2.8 you have the options to select depth when showing hierarchy. See FAQ for more information.
- With WordPress 2.8 there is a new widget, AVH Extended Categories Top. This will show the top categories based on amount of posts.
Version 1.5.1
- Bugfix: Compatibility issue with the plugin wp-security-scan
Version 1.5
- RFC: Option to show RSS feed after categories
Version 1.4.1
- Bugfix: Problem when using multiple widgets with the dropdown option.
Version 1.4
- Ability to have up to 9 widgets.
Version 1.3
- You can select which categories to show (Requires WordPress 2.5.1 or higher).
Version 1.2
- When no category or an empty category is selected the dropdown menu shows Select Category, like the default category widget.
Version 1.1
- Dropdown menu didn’t work. Page wasn’t refreshed with selected category.
Version 1.0
- Initial version



Entries (RSS)
download link is not working.
cheers
Allan
Sorry about that, it’s fixed now.
hi
thank you for this great tool, i’m using it on my blog: http://www.xiiboo.com/powerfon/blog/
regards
marc
If the theme I used is no sidebar defined, when I checked in presentation – widget, is there any way to configure it manually in the code of the template? There’s eventually a sidebar but it didn’t show up in presentation widget somehow. So the only way to do it is to configure in the code manually.
In reply to #4
I answered your question of the support board:
http://forums.avirtualhome.com
How to configure category count? It does not seems to be working by default. Also How to stop categories showing, which does not have any posts under them?.
The plugin does not come under Options sub menu.
firstly, thankyou for this plugin, it seems to be just what I am looking for. However, I cannot type anything into the the title bar of the widget. A cursor flashes for a second in the title box then disappears. Any ideas? many thanks for your help
thankyou, Hannah
@hannah:
I posted your question and a reply on the forum at : http://forums.avirtualhome.com/viewtopic.php?f=4&t=8
Johan,
That’s a great idea. It does mean I’ll have to rewrite the core part I’m using, but I’m liking it.
I’ll add it to my list of feature requests which can be found at the AVH Support Forum: http://forums.avirtualhome.com/viewforum.php?f=5
Hi,
Thanks for this plugin. I was looking for just something like this.
Any chance to see an exclude category option in a future release?
Keep up the great work!
- Johan
Hey,
Thanks for considering.
To not complicate things, just entering a string of comma separated category ID’s should do the trick. Perhaps, not the user friendliest solution, but some similar plugins like breukies category widget worked like that before it got broke with newer wordpress versions.
Then a new text input field for the id string should be all that’s needed to the form, and then add the string to the argument array. I’m not much of a php wiz, but I made a quick personal mod to your script where I just hardcoded in some categories at the end of the array to exlude. Adding: ‘exclude’ => ‘52,73′ to the end. Works perfect, but a bit tedious to update with new categories.
I’ll keep my eyes open if you decided to include it.
Trying to change the title. But won’t save. Anyone else having this problem? How can I fix it to save title?
Thanks
Hi,
Thanks for great plugin. Just yesterday it stopped excluding categories,
the rest of the options is working fine. I want to exclude one
category but no go, it always is there. I uninstalled, installed again,
update to wordpress 2.7 but still can’t exclude the category.
How to “debug” it?
Thanks,
miki
Thanks nice plugin
I want to exclude one
category but no go, it always is there.
What website are you running it on and which version of the widget are you using?
Hi, excuse me for my bad english ..
It’s possibile to change the number of categories displayed and shows the top categories by number of posts ?
Thank you so much !
You can select which categories to show and order them by count(=number of posts)
What you can’t do is: Show me the top 5 categories based on number of posts.
How can I add this widget more than once to the sidebar?
I want to create different parts in the sidebar with different categories displayed, similar what flexipages does with pages. Under Available Widgets is “Extended Categories 1″ and the Add link. When I add the widget, the Add link disappear. It looked for me (because if the “1″), I could add more than one…
If you scroll down the page you will see an option to select how many widgets you would like.
Is it possible to set depth of displazed categories if thre is hierarchy?
For example I want to have only top level categories displayed, but not to manually set ID’s of subcategories to make them invisible.
Currently it is not possible.
I’m working on a new release and will implement this option.
I’ve category with many subcategories.
Is it possible to show only the subcategories but not the category?
You just have to select the categories you would like to display.
Hi, Great plugin. But it messed up my 2.8 installation/upgrade.
I get:
Fatal error: Cannot instantiate non-existent class: self in /home3/site-name/public_html/site-name/wp-content/plugins/extended-categories-widget/2.8/class/avh-ec.core.php on line 36
I had to delete the plugin via FTP to get WP up again.
What PHP version are you running?
I just released version 2.0.1 which should take care of the problem.
Excellent plugin! Thanks =)
Hi,
Thanks for this plug-in its just what I needed. I have implemented it on my site Animedimension.com. I am wondering if there is a way to customize the width of the drop down box?
Thanks…
The dropdown itself is created by WordPress itself. So if you change the CSS your theme applies it could change, but it probably will change for all dropdown boxes.
Hello Peter:
I tried to install your plugin via WP’s “Add Plugin” functionality, using WP 2.8, directly from the WP plugins site.
During the install process, I get the error:
Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structureWhen I download the ZIP file from your site, and upload it to the WP Installer, everything works fine. You might want to look at the package on the WP servers.
Chris,
This seems to be related to a bug in WordPress itself. http://core.trac.wordpress.org/ticket/10104
Peter:
Thanks for the quick reply on this. I have tried this with other plugins, and agree that this is a WP bug.
Thank you for your hard work developing this plugin.
The option widget-extended-categories-1-hierachical does not work since version 2.0.2.
Thank you for reporting. I just released the bugfix, v2.0.3. Give it about 15 minutes before it’s available for download.
Thanks Peter. Works perfectly fine now!
Hi Peter,
I’m using your plugin in my blog and it works great. In case of the rss icon there is a little problem I can’t solve. Maybe you can help me with it. On my right sidebar at http://www.babbel-net.com/ you can see under “Team” or “Blog abonnieren” that I centered the rss icons cause it just looks better. I did it with this sort of code:
style=”border: none; margin: 0 0 -4px 0; padding: 0;”
My question is now how can I reach the same effect in your plugin so that the rss icons under “Kategorien” lay on the same centered position like the others?
Greetings from germany and thanks in advance!
P.S. I’m using wordpress since two days and the whole coding thing is totally new for me. So I hope my question isn’t too silly.
Dennis,
You will have to edit the style.css
Add the following lines:
#cat-item img {border: medium none ;
margin: 0pt 0pt -4px;
padding: 0pt;
}
I do believe that should do the trick
Hi Peter,
thanks for the help! It worked. The only thing I had to change was the “#cat-item img” into a “.cat-item img”. That did the trick
Thanks again for the help and of course the great plugin!
Cheers and greetings from germany
Dennis
Hi –
Is there any way to delete the title completely and remove “select category” from the dropdown?
I am only using one category and would like to remove this. Thank you. Lisa
Hi. Just upgraded to the latest version, and I can’t seem to be able to get the RSS icon to show instead of the (RSS). I have the option checked, and I have the correct path to the icon, but it’s not working.
Any suggestions?
Thanks,
Michael
@mpmchugh: I had the same problem. If you use Wordpress 2.8, open /2.8/class/avh-ec.widgets.php and delete line 54 – 58. I don’t know, why the availability of the feed image is checked in this way?! The image should be an URI.. Right?!?
Thanks for the tip. Can’t get to those include files via the WP editor, so I’ll have to get added to the same group to try it out.
I’ll change that in the next version.
There is not really a need to check if a file exists.
Thanks so much for this plugin!
I would like to change the text “select category”. Can you please let me know how to do this.
Thanks in advance.
Currently it is hard coded in the plugin. I can see if I can add a administration page where you can change the text.
What would you like it to be?
Thank you so much for your reply.
I need to translate it. Is there any way that you could leave it blank? This will enable many people to use it with different languages. As of now it is only suitable for English sites.
Thanks again!
I will work on internationalization of the plugin.
Thank you very much! Please let me know when it is ready.
I have 2 questions about it. I would like to use the plugin instead of navigation. My only links will be from each category to all of the relavent posts. The list will be drop down. From an SEO point of view will Google be able to get to each of my posts?
Another question – is the load time longer similar to that of Ajax (i.e. does it load as needed)?
I have 100 categories which I would like to divide among about 6 sets. Will my load time be long?
Thanks so much again!
Nicole,
Search engine spiders can’t fill out forms or pull down on lists, so content that is only accessible through pull-down lists will not be indexed.
It’s not loaded as needed. All lists are populated before the content is served. The load time depends on the server the site is running on. I can’t imagine the load time would increase much by implementing your idea.
Thanks! I am anxiously waiting for the international version. I love this plugin!
Thanks again!
Not sure if i missed this being asked before, can this be configured to just show subcatagories of the current category page?
Currently it can’t.
If you would like this functionality I suggest going to the forum and post it in the Feature request section.
Hi Peter,
is there a way to put the rss-feed-icons before the category and vertically centered –
in style.css preferably?
I’m sorry Michael, but because the building of the category + feed-icons is done in WordPress core, there’s no way currently to move the icon at the moment. To center it vertically see comment 26 and my reply.
Thanks for much for the plugin! I am redoing my site and it is very helpful! I will definately use it!
After using the Extended Categories plugin and then deactivating it my normal Wordpress categories widget is missing. How do I get my normal, built-in categories widget back?
I deactivated and deleted my plugin as a test and still have the Categories widget.
I’m not sure why the default widget is gone in your situation.
Was it available while the plugin was active?
Hi Peter, thanks for your quick reply. In answer… no the built-in categories widget is not there at all, it makes no difference if the Extended categories widget is active or deactivated. I wonder if it’s also something to do with a theme I used – the Hybrid theme (and child themes)? I’ll post on their forum and see if it might be something to do with the theme (which I’m no longer using) as well.
Hi Peter. I use the plugin on my site.
I replace all my categories menus with your pluggin, just for the ease of customisation
I was wondering if the option to “nofollow” certain category links would be a good idea in a future release?
The category widget is usefull to sort posts by differnt category parameters, but this may produce a lot of links that you might not want the serch engines to waste their time spidering duplicate content.
If i was building a site by hand i might nofollow these links, so i thought i’d as you opinion
Thanks
Robert.
If it would be for all categories it would not be a big problem but to only add nofollow to certain categories would mean a bit more programming, I don’t think it’s impossible though. I might implement it in a future release. I have a few other things in the pipeline right now.
Easiest way to get rid of bullets in category list?
Changing your themes CSS. The lists get their style from the theme.
Great category plugin … Couldn’t live without it now that i’m used to it …
I have a suggestion, so, for a feature that could make it even useful. Why didn’t you propose the “order by slug” feature ? Ordering by slug is an easy way to order your categories the way you want without acrobatic moves. For those who are not too “SEO touchy”, you just modify your slugs to get the order you want when listing categories …
Thanks for this fine plugin.