Viewing 1 replies (of 1 total)
  • Via header.php, use something like:

    <title><?php if(is_search()) {_e(' Search Results for ''); echo trim(get_search_query());_e('' on ');bloginfo('name');}
    elseif (is_category() || is_author()) {wp_title(':',true,'right'); bloginfo('name');}
    elseif(is_tag()) {_e('Entries tagged with '); wp_title('',true);_e(' on '); bloginfo('name');}
    elseif(is_archive() ) {_e('Archives for ');wp_title('',true,'right') ;_e(' on '); bloginfo('name');}
    elseif(is_404()) {bloginfo('name'); _e(' - Page not found!');}
    elseif (have_posts()) {wp_title(':',true,'right'); bloginfo('name');}
    else {bloginfo('name');}?>
    </title>
Viewing 1 replies (of 1 total)
  • The topic ‘Title tag, unique tag for each page I create’ is closed to new replies.