I'm hoping that I can get some assistance on this one! I'm trying to implement some PHP in the sidebar that displays a list of the categories (as links to the category itself). If clicked, I'd like it to go to the category page of course, and then for the posts within that category to appear in a list underneath it as links.
Example of the homepage: Category A Category B Category C
Example of the homepage within Category A: Category A - Post One - Post Two - Post Three Category B Category C
I'm sorry if this is something obvious. I'm trying to find my own solution but thus far have been unable to.
Thanks again!
wp_list_categories()function ought to take care of the first half of your question. Reference here: codex.wordpress.org/Template_Tags/wp_list_categories - Patrick Moore