Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Remove prefix on category title

function prefix_category_title( $title ) {
 if ( is_category() ) {
  $title = single_cat_title( '', false );
 }
return $title;
}

add_filter( 'get_the_archive_title', 'prefix_category_title' );
Source by wpza.net #
 
PREVIOUS NEXT
Tagged: #Remove #prefix #category #title
ADD COMMENT
Topic
Name
9+8 =