Hi In one of my sites the categories are increasing in huge amount Basically the categories are like this Main cat1 --Sub cat 1 --Sub cat 2 Main cat 2 --sub cat 3 --sub cat 4 etc Now it would be really nice if i just display the parents and its associated categories .. Like for example if there is post called test in sub cat 2 then i would like to display just Main cat 1 and its parent sub categories instead the whole long drop down list of categories .In other words related categories only not the whole bunch of categories which takes ample of time to load Can this be done using any wordpress plugin or some code tweaks ..? 2. I would also like to have a page which has all categories in it and is sorted in terms of index I tried A-Z index plugin but it wont work since my categories are huge and it gives memory overflow error Any way to achieve this ..? Thanks in advance for the answers
To show onnly 2 levels of categories you can use the code To have a page of categories sorted in a-z order you can create a new page template with the following code
^^Thanks for the reply I figured out how to show related categories using peer categories plugin but unable to do the second one What i need is a index page which uses ajax or some kind of script which just displays all alphabets and when one clicks on alphabet all categories starting with the alphabet must appear Since i have lots of top level categories itself it would appear ugly to see them all in one page I used A-Z index plugin but its crap and doesnt work with large no of posts and categories ... Any suggestions regarding creation of index page is welcome