Archived topic
commas between categories when using WPSP plugin
3 replies · Started by qpaq on November 17, 2020
I use the WSPS plugin to list the recent posts on the home page.
The following code gets rid out of commas between category meta labels and it works fine in post pages but it does not work on the homepage. I need to add a third line to address WSPS maybe but couldn't figure it out.
add_filter( 'generate_term_separator', function() {
return ' ';
} );
add_filter( 'generate_page_hero_terms_separator', function() {
return ' ';
} );
Hi,
WPSP uses wpsp_term_separator filter for its term separator.
That said, try this PHP snippet:
add_filter( 'wpsp_term_separator', function() {
return ' ';
} );
Perfectly working, thanks Elvin.
Perfectly working, thanks Elvin.
No problem. :)