Loop through multiple custom taxonomy terms and display posts for a custom post
-
I am working with custom post types in the bones theme from themble. There, I want to create a link list and therefor i’ve created a custom post type, called links.
This custom post type has a custom taxonomy, called links_categories. Now I would like to display all links on one page, like this:
Link Category 1
* Post 1
* Post 2
* …Link Category 2
* Post 1
* Post 2
* …While researching on how to achieve this dynamically, i tried this two solutions:
https://wordpress.stackexchange.com/questions/346/loop-through-custom-taxonomies-and-display-posts
Strangely enough I had the same issue with both versions. It seems like WP_Query is not getting any posts – I just get the slug of the custom category term.
Here is what I have for now:
Any help on this would be really appreciated – i was working on this the whole afternoon…
- The topic ‘Loop through multiple custom taxonomy terms and display posts for a custom post’ is closed to new replies.