-
zlobec
Hi,
i have two custom post types:
– Community
– GroupBoth are linked with a single taxonomy Category. For example:
“Community A” has Category of “Community A”
“Group 123” has Category of “Community A”Since my Community items are created and also removed (to draft) quite often, i have a problem listing all Communities and their Groups. Groups can also be removed often too.
At the moment I have a Query Block for each Community, to output all Groups within. So the page has about 92 Community Query Blocks each printing out it’s respective Groups.
I’ve been trying to create A “Query of Query” block, to print out all Communities, but i can’t link the Groups in the child Query Block … If i set Taxonomy to Category and from “Current post terms” I get a blank Loop list.
Is it even possible to do that? Or should i be looking at a custom PHP solution? Or Is there another way to link Communies and Groups?
Thanks.
-
Hi there,
I’m not sure I understand your case.
Can you specify where you would like to display the communities? Is it on the single Group page?
Can you explain some more?
-
zlobec
Hi Ying,
Yes, I want to display this on just a regular Single page, because I have content before and after his listings:

Hope the image helps.
Regard,
-
Can you show me your setup for the query block?
And where is this query block? Is it on a single group page or in a block element?
Let me know 🙂
- You must be logged in to reply to this topic.