has anyone an ideea how can you do something like this:
So if the user is in a category, let’s say Main
and this categories has some subcategories and I want to list them and also list the posts, something like this:
Sub category name 1
-POST 1
-POST 2
Sub category name 2
-POST 1
-POST 2
Sub category name 3
-POST 1
-POST 2
I’ve found this piece of code and it works: