get_term_link not working

That field can return multiple term objects depending on how you’ve got it configured, so I’ll guess that $series in this case is an array containing a single element, which contains your term object. Try inspecting the contents of series: print_r( $series ); You’ll probably see something like: Array ( [0] => stdClass Object ( … Read more

Display custom taxonomy on my custom post type

If you’re using a custom taxonomy, you can’t use the_category() — that’s reserved for the default WordPress category taxonomy. Instead use the_terms(): <span class=”itemCategory”> <span class=”icon-folder-close”></span> <?php echo __( ‘Published in ‘, THEMENAME );?> </span> <?php the_terms( $post->ID, ‘status’, ”, “, “, ” ); should output the status taxonomy for your post. Reference the_terms() Taxonomies

How can I make front page to display custom taxonomy page?

I agree with @KrzysiekDróżdż While you should probably be able to do this it might be unnecessary work. However, this works with I test it, just change the category/term name and the template name (the part in get_template_part), and maybe the is_main_query() && $qry->is_home() conditional if you need to: function pregp_home_cat_wpse_104619($qry) { if (is_main_query() && … Read more

Add “Select All” to custom taxonomy

You don’t have to rebuild the metabox… you can just add a pseudo term via the get_terms filter. This will add an “All Terms” term to your checkbox list, (assuming a hierarchical taxonomy). add_filter( ‘get_terms’, ‘wpa104168_all_terms’, 10, 3 ); function wpa104168_all_terms ( $terms, $taxonomies, $args ){ if ( is_admin() && function_exists( ‘get_current_screen’ ) && ! … Read more