{"id":2459,"date":"2017-10-23T09:40:51","date_gmt":"2017-10-23T09:40:51","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=2459"},"modified":"2023-12-27T10:57:56","modified_gmt":"2023-12-27T10:57:56","password":"","slug":"change-the-comma-between-categories-tags-custom-taxonomies","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/change-the-comma-between-categories-tags-custom-taxonomies\/","title":{"rendered":"Change the separator between categories, tags, taxonomies"},"content":{"rendered":"<p>Please add this code to file <strong>functions.php<\/strong> in directory of your active theme:<\/p>\n<pre style=\"font-size:13px\">\n\/\/ Content Views Pro - modify separator between categories\nadd_filter( 'pt_cv_post_terms_output', 'cvp_theme_post_terms_modify_separator', 100, 3 );\nfunction cvp_theme_post_terms_modify_separator( $args, $links, $taxonomy_terms ) {\n\t$args = str_replace( ', ', ' \/ ', $args ); # Remove the slash to use no separator\n\treturn $args;\n}\n<\/pre>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please add this code to file functions.php in directory of your active theme: \/\/ Content Views Pro &#8211; modify separator between categories add_filter( &#8216;pt_cv_post_terms_output&#8217;, &#8216;cvp_theme_post_terms_modify_separator&#8217;, 100, 3 ); function cvp_theme_post_terms_modify_separator( $args, $links, $taxonomy_terms ) { $args = str_replace( &#8216;, &#8216;, &#8216; \/ &#8216;, $args ); # Remove the slash to use no separator return $args; &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/change-the-comma-between-categories-tags-custom-taxonomies\/\"> <span class=\"screen-reader-text\">Change the separator between categories, tags, taxonomies<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[25],"doc_tag":[17,21],"class_list":["post-2459","docs","type-docs","status-publish","hentry","doc_category-adjustment","doc_tag-category-tag-taxonomy","doc_tag-custom-code"],"year_month":"2026-11","word_count":65,"total_views":"4","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin1","author_nicename":"admin1","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/admin1\/"},"doc_category_info":[{"term_name":"Adjustment","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/adjustment\/"}],"doc_tag_info":[{"term_name":"category tag taxonomy","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/category-tag-taxonomy\/"},{"term_name":"custom PHP code","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/custom-code\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=2459"}],"version-history":[{"count":1,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2459\/revisions"}],"predecessor-version":[{"id":5441,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2459\/revisions\/5441"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=2459"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=2459"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}