skip to Main Content

Snippet: Custom Categories List Separator

By default the Total theme uses a comma to separate categories/terms when displaying them as a list such as in the Post Meta. You can easily alter this default separator using a theme filter like the example below which will turn the comma into a dot.

add_filter( 'wpex_inline_list_sep', function() {
	return ' · ';
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)
Back To Top