Say the WordPress I run has over 50 categories and they have their sub categories as well; and I'd like to only list the parent categories on a page.
Parent Category A
-Child Category 1
-Child Category 2
Parent Category B
-Child Category 1
Parent Category C
-Child Category 1
-Child Category 2
and etc.
And I want it to appear in a list with links like this
-Category A
-Category B
-Category C
How is this possible if I do not want to use a plugin that requires me to manually include or exclude the sub cats?
Thanks in advance. :)