We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Display categories as tags Reply To: Display categories as tags


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!