Same term from custom taxonomy in two different custom post types?
Same term from custom taxonomy in two different custom post types?
Same term from custom taxonomy in two different custom post types?
Custom taxonomy widget in admin area
How to sync to custom taxonomies (tag structure)
Use get_object_taxonomies to get all of the taxonomies registered to a particular post type. Also, don’t use query_posts for secondary queries. or ever, actually. Use WP_Query. $args = array( ‘posts_per_page’ => 1, ‘post_type’ => ‘movies’, ‘orderby’ => ‘post_date’, ‘meta_key’ => ‘featured_movie’, ‘meta_compare’ => ‘=’, ‘meta_value’ => 1, ); $movie = new WP_Query( $args ); if( … Read more
Add term to custom post type on draft
get_the_term_list – Return links to edit.php instead of link to taxonomy archive template
Make taxonomy terms appear in the order they were made
You should be able to use what you have and just wrap it with: <?php if ( is_year( ) ) { ?> **Your Code** <?php } ?> And changing ‘hide_empty’ => false to ‘hide_empty’ => 1 should prevent the cats with no posts from showing.
The woocommerce product category is just a custom taxonomy. As far as I know all the data is stored as intended by wordpress core. You can find out more about the database structure at the codex page Database Description, the tables you are looking for are wp_terms, wp_term_relationships and wp_term_taxonomy. But you absolutely should look … Read more
Admin ajax add tag callback