Tagged Questions
0
votes
1answer
137 views
Get terms in hierarchical taxonomy which are associated with page and are children of a parent term
I have a hierarchical custom taxonomy ("photos"), with 3 parent terms ("color", "location", "year"). Each parent term has several children terms. I have associated the "photos" taxonomy with pages and ...
1
vote
1answer
315 views
How to Get All Taxonomies AND All Terms For Each Taxonomy With Post Count Zero
Is there an easy way of obtaining every registered taxonomy and for each registered taxonomy, get all the terms for that taxonomy, and for each term, get the post count, without actually fetching all ...
3
votes
2answers
803 views
wp_get_object_terms() to get a list of all the terms attached to all the posts in the current query
How can I use wp_get_object_terms() to get a list of all the terms attached to all posts in the current query?
For example, for the current query I want to get an array of the terms from the "Alfa" ...
1
vote
1answer
154 views
Changing stylesheet depending on custom taxonomy terms
My client would like the background & header colors to switch
depending on terms within the custom taxonomy 'Grades'. These terms
are kindergarten, first grade, second grade, etc... (all ...