Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

There is a widget categories which prints categories as tree, for example:

category1
  subcategory1
  subcategory2
category2
  subcategory1

I would like to print whole content of blog together with articles not as widget but on main page as normal text like:

category1
  subcategory1
    news1
    news2
  subcategory2
    news1
category2
  subcategory1   
    news1
    news2

What is the way to do this?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

there is some idea in 'Hierarchical Category List with Post Titles' which might need some adaptation to get exactly what you want.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.