• Resolved amobaroti

    (@amobaroti)


    i have used the following code in my header.php

    <title>
    <?php
    if (is_home()) {
    	echo bloginfo('name');
    } elseif (is_404()) {
    	echo '404 Not Found';
    } elseif (is_category()) {
    	echo 'Category:'; wp_title('');
    } elseif (is_search()) {
    	echo 'Search Results';
    } elseif ( is_day() || is_month() || is_year() ) {
    	echo 'Archives:'; wp_title('');
    } else {
    	echo wp_title('');
    }
    ?>
    </title>

    but for some reason when i click on the single post page the title dispalyed is my blog title.

    i have tried using ALl in one SEO which works fine for what I am trying to achieve but for one reason or another messes up my JCarousel script.

    A solution for either issue is appreciated!!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘dynamic page title not working on single posts’ is closed to new replies.