Home › Forums › Pro Support › Display categories as tags › Reply To: Display categories as tags
July 17, 2018 at 8:09 pm
#5286
Participant
At the moment I have:
add_filter( 'wpsp_terms_output', function( $output ) {
$categories_list = sprintf(
'<span class="categories-list">%s</span>',
get_the_category_list( '' )
);
return $output . $categories_list;
} );
Yet nothing is being affected on the front end. I’m using a CPT if that matters the post type is ‘team’.
Its odd because I could have sworn the list wasnt displaying any categories in the tags without this code now everything is working fine even with the code snippet removed. I just cant get rid of that damned comma!