hi,
I have a similar request. I am trying to use WP as the CMS for a small online magazine with sections like stories, essays, poetry, translations, book reviews etc., I really like WP, because WP liberates me from designing individual pages but allow me to concentrate on the structure of the
data.
My categories are organized as follows:
1 category i
2 — child i1
3 — child i2
4 — child i3
5 — child i4
6 category f
7 — child f1
8 — child f2
9 — child f3
10 –child f4
Each post belongs to only one of the child categories i1 or i2, or i3 or i4. It also belongs to one
or more child categories f1, f2, f3 and f4.
Example of posts.
post categories
——————–
post1 i1, f3
post2 i1, f1
post3 i1, f1, f4
post4 i1, f2
post5 i1, f1
…
I want to create a category template for the children i1, i2, i3 and i4.
However, the standard category template sorts the posts by
id and the categories f1, f2 and f3 are all mixed up.
I would like to be able to sort the posts in the category i1 so all posts are also sorted by categories f1, f2, f3 and f4. this is what I have in mind:
Archive for Category: i1
f1
post2
post3
post5
f2
post4
f3
post1
f4
post3
….
I know I need to loop on each of the child categories of
category f. (id = 6)
Is it possible to get posts that belong to categories (i1, f1), (i1, f2) etc. in the category template?
I am just gettig started with WP and any help or pointers
is greatly appreciated. thanks