I need a sub-category box in sidebar as a Author Box. I want to get all child categories name, image and latest post of a specific category. Parent category is “Author”. “Author” has 3 sub-category “John”,”Dany”,”David”. I need “John”s category name, category url, category image and latest post of “John” and the other categories too. How can i do with loop?
Note: I’m using “Categories Images” plugin for displaying categories images.
Thanks
That code block is working exactly what I want. Maybe it can be optimised.