Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Currently I have a small amount of 100 categories and my MENU goes crazy big and I would like to be able to do 2 things if possible:

  • First category menu with limited amount categories sorted by hits
  • Second category menu with limited amount of categories choose by myself

Is there any simple way to acomplish this either manually editing part of the code but yet allowing me to render the category by the wordpress code instead of having to type each by hand or a plugin with already such features ?

PS: I was trying to use the search for this but even using "Category Menu too big" there were so many unrelated answer that it was hard to find anything good to my case.

share|improve this question
    
@Prix - Which menu system are you using? The v3.0 wp_nav_menu() or the older wp_list_page()? Can you provide more information about your actual implementation? –  MikeSchinkel Oct 21 '10 at 23:40
    
Default wp installation menu on the side bar the default category list. –  Prix Oct 22 '10 at 0:28
add comment

2 Answers

This...

  • First category menu with limited amount categories sorted by hits
  • Second category menu with limited amount of categories choose by myself

... is, I believe, impossible using the menu API.

share|improve this answer
add comment
up vote 1 down vote accepted

I have moved away from looking for a plugin and adventured myself into making my own modifications, see http://wordpress.stackexchange.com/questions/3185/custom-sidebar-category-listing

In regards my question here I have found the follow:

  • Yes, it is possible to limit the amount of items listed on the category by setting the number argument that can be used with wp_list_categories and get_categories.
  • A personalized menu can be create with only the categories you wish to allow on it on the Menu that code can be re-used on the sidebar, only problem is that it will be manually updated/controlled.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.