How to remove ‘Archive’ word from category and tags in wordpress ?


Step 1:-You Can add this code in functions.php file for remove category archive word.

add_filter( ‘get_the_archive_title’, ‘modify_archive_title’ ); function modify_archive_title( $title ) { if( is_category() ) { $title = single_cat_title( ”, false ); } return $title; } 

Step 2:-if step 1 is not work .then you select yoast setting if you have go to yoast setting->select search appearance ->select taxonomies tab ->please go seo title section remove archive text and after that save your settings .this method 100 % work for you.

Step 3:-Go to setting->select permalinks->Add Custom Structure change category base to period dot.

Step 4:-Hide Title from style using css

  1. .entry-header { display:none; } 

%d bloggers like this: