List custom taxonomies associated to an author’s posts

First grab the post ids by the author, and then the terms. $author_id = ‘1234’; $taxonomy = ‘clubs’; $post_ids = get_posts(‘fields=ids&post_type=post&post_status=publish&showposts=-1&author=”. $author_id ); $clubs = wp_get_object_terms($post_ids, array($taxonomy)); $html = “<ul>’; foreach( $clubs as $club ) { $html .= sprintf( ‘<li><a href=”https://wordpress.stackexchange.com/questions/134259/%1$s”>%2$s</a></li>’, get_term_link($club, $taxonomy), $club->name ); } $html .= ‘</ul>’; echo $html;

Comma separator problem of custom taxonomy

Commas in the post page tags areas means different words, so wordpress will see 1 bedroom,2 bathrooms,4 kithenrooms as three separate words namely, 1 bedroom , 2 bathrooms and 4 kithenrooms. Create your tags to look like this 1 bedroom-2 bathrooms-4 kithenrooms or1 bedroom 2 bathrooms 4 kithenrooms

Hide echo of no categories from get_object_taxonomies

I believe that what you want is show_option_none show_option_none (string) Set the text to show when no categories are listed. Defaults to “No categories”. http://codex.wordpress.org/Template_Tags/wp_list_categories#Parameters Proof of concept: $args = array(‘include’=>123,’show_option_none’=> ”); wp_list_categories( $args );

How to list Custom Taxonomy

Something like this should do the job: <?php $terms = get_terms(‘YOUR-TAXONOMY’); if ( $terms ) : ?> <ul id=”portfolioFilter”> <li class=”filter” data-filter=”all”>All</li> <?php foreach ( $terms as $term ): ?> <li class=”filter” data-filter=”<?php echo $term->slug; ?>”><?php echo esc_html($term->name); ?></li> <?php endforeach; ?> </ul> <?php endif; ?>