I’ve been trying to wade my way through learning the ins and outs of taxonomies and how to integrate them into themes and I’ve run into a pretty basic...
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 7...
I have registered several custom taxonomies for a custom post type. Code for one of them is the following: $labels = array( 'name' => __( 'Genre', 'textdomain' ), 'singular_name'...
This seems like it should be straightforward, but I’m stuck on it! If a user searches for ‘alice’, I would like to show them all posts with the custom...
I want to display term children of a custom taxonomy. Currently, I am able to do this using get_term_children, but using this, it displays children and grandchildren, I want...
What is the difference between custom taxonomies and page templates and custom post types? I think I understand that taxonomy is used to organize data. CPTs are used to...
Edit: Important note for WordPress v4.4 onward This question used a great workaround for the lack of real term meta in older versions of WordPress, but since the release...
I have a custom taxonomy of “crb_issues” that has a custom field associated with it that is “issue_date” which outputs a date value for each term to looks a...
WooCommerce’s product categories are a custom taxonomy called product_cat. In a function I’m writing, I’m using get_categories with the taxonomy parameter set to product_cat. Everything works fine and I...
I’ve registered a custom post type “object” and registered the taxonomy “post_tag” so that these objects can be tagged. register_taxonomy_for_object_type('post_tag', 'object'); When I visit domain.com/tag/{object-slug} it does not find...