how to show only categories with a high number of posts ?
Hi Flynn, I wish to congratulate you for the wonderful theme that you created. I have the following question: My blog has many categories and I want to show the list of only those categories that have more than 10 articles. You could help me with the code in php to do this?
Thank you very much Elpídio Filho http://geoprocessamento.geocomciencia.com.br |
It's possible to do this ?
|
More info please. Which list, menu bar, widget or archives page?
|
Widget and Menu Bar
thanks Elpídio |
You can exclude certain categories, but I cannot think of anything relatively easy to do this automatically.
To exlude certain categories from the category widget: Don't use the category widget, use the http://wordpress.org/extend/plugins/php-code-widget/ PHP code widget, use one instance of it in a sidebar and put this code into the widget: PHP Code:
13,83,9,27 would be the ID's of the categories you want to exclude. More configuration options: http://codex.wordpress.org/Template_...ist_categories To exclude certain categories from the menu bar: See Atahualpa Theme Options -> Category Menu Bar -> Exclude categories from Category Menu Bar? |
All times are GMT -6. The time now is 03:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.