-
Cowboy71
Hello,
I created a CPT to show Details for a Pigeon in a special Color. About 30 Pigeons with there indidviduel colors are organized in 4 groups, each color is in one group, means category. The categories are “Einfarbig”, “Geherzt”, “Getigert” and “AOC”.
If I show one Pigeon in Detail, on my Page is a Section “Browse other Pigeon Colors in this group”. That works fine.
With an additional section I want to show 3 Images for the other categories. I don’t want to show the “current” category.
How to Query the Loop to list the 4 Categories with the additional Images (ACF, done)? To exclude the current category I hope will no problem for me.
Maybe helps:
https:/amsterdamer-kroepfer.de/development/farbenschlag/blaufahl-mit-binden/
Here you can see how it should be. But the Categories are added manually by me, not via Loop.I’m sure GB 2.0 can do that. I only have to learn… Thx!
-
Hi there,
Query block can not query categories, so no, there isn’t a way to achieve this via query block, unfortunately.
You need custom code to generate the category names and images.
-
Cowboy71
Oh no! But thx, Ying!
-
No Problem 🙂
- You must be logged in to reply to this topic.