Eh!
We will need to edit the “header.php” file in WordPress template folder.
Theme Editor in the WordPress admin, select “Header” from the list and replace:
<title><?php bloginfo('name'); wp_title(); ?></title>
(or whatever you have in your <title> container with:
<title>
<?php
if (is_home () ) { bloginfo('name'); the_title(' | ');}
elseif ( is_category() ) { bloginfo('name'); echo " | Category: "; single_cat_title();}
elseif (is_single() ) { bloginfo('name'); the_title(' | ');}
elseif (is_search() ) { bloginfo('name'); echo " | Search results for "; echo wp_specialchars($s);}
elseif (is_tag() ) { bloginfo('name'); echo " | Tag: >>>"; wp_title(' '); echo ' <<< ';}
elseif (is_page()) { bloginfo('name'); the_title(' | ');}
else { wp_title(); }
?>
</title>