hello Guys!
In WordPress i am having a category menu in the following way.
1.Fruits
1.1. Apple
1.2 Mango
2.Vegetable
2.1. Brinjal
2.2 Onion
like that......list goes on. i would like to display 5 categories each at a time and need to display the next 5 on clicking next on the pagination menu.
I owuld like to add pagination to this category tree. Please let me whether it is possible to have pagination for the category menu.
Currently i am using the following code::
`
if (is_category()) { $this_category = get_category($cat); if (get_category_children($this_category->cat_ID) != "") { wp_list_categories('hide_empty=0&order=DESC&orderby=ID&title_li=&child_of='.$this_category->cat_ID); } }`
When we add number to the argument it will only display the category up to that limit and tehre is no way to display the remaining categories. Please let me know if there is any way to make pagiantion for category menu!
Thank in advance!
Best Regards,
Fida