In the recent wordpress.org article outlining the new Query Loop block, it says the “Inherit query from template” option allows you to “customize the query that the loop relies...
I have a custom post with a taxonomy associated to it. That taxonomy only has one term, and posts either belong to it or not, in a boolean fashion....
Working on a tool outside of WordPress to query the wordpress database by POST_ID and return the Category Name associated. This is for a real estate website, and the...
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...
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 3...
I am trying to create theme pages for custom taxonomy terms in which the archives are ordered by a custom meta field. I can do this with a new...
So I have a custom post type (people) with a related custom taxonomy (directory). Instead of editing a person and then choosing the related directory organizations I’d like to...
I have a post type that includes a taxonomy for (1) location and (2) a day of the week. I’m using the first taxonomy to sort the posts into...
How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
This answer provides the code for a query that returns an OR match on a taxonomy term: global $query_string; $args['tax_query'] = array( array( 'taxonomy' => 'status' ,'terms' => array(...
I’ve been having a lot of trouble getting a WP_Query running with a tax_query on my custom taxonomy. I’m 99.9% sure that my register_taxonomy is correct, as I’m able...