QOT Forums » Blogging Tips

Title on Tag Page - Help

(1 post)
  • Started 1 month ago by Articles2u
  1. Title on tag page display name of the blog. It not displays Tag Title or Title of the tag page.

    My Title code on Header is

    <title>
    <?php if (is_home())
    {
    bloginfo('name');
    echo ' -- ';
    bloginfo('description');
    }
    elseif (is_single() ) { single_post_title();}
    elseif (is_page() ) { single_post_title();}
    else
    { ?>
    <?php wp_title(' '); ?>
    <?php if(wp_title(' ', false))
    {
    echo ' | ';
    } ?>
    <?php bloginfo('name');
    } ?>

    </title>

    If i use
    elseif (STP_CurrentTagSet()) { single_post_title();}
    It display Tag title and blog name without space.
    Ex: TagBlogname (no space).

    Please help me.

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.