• Hello Sirs,

    My title of wordpress is named:

    Site Refer

    This name “Site Refer” appears on all pages in title tag.

    Site Refer >> Title of Articles

    I want to remove Site Refer >> and leave only the title of article. How can I do this? And leave Site Refer only on homepage title tag.

    Regards,
    Dan

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the header.php file of your theme, you’ll find something like
    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    Remove the <?php bloginfo('name'); ?>
    and change the wp_title() to wp_title(”) (see this article in the Codex). The end result:

    <title><?php wp_title(''); ?></title>

    I’m having the same problem.

    http://www.beyourowndetective.com/blog

    In any of my post pages, I want to get rid of my main blog title “Detective blog” but retain it for my main blog page.

    Example: Detective blog >> Blog Archive >> Snooping Mom helps crack sex case

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    I found this hack to include the blog description on the only home page. Theoretically it could be used to show the blog title.

    http://www.pixies.ca/archives/2005/03/02/as-loud-as-hell-a-ringing-bell/

    I tested it on my site and it works fine. Just replace ‘description’ with ‘name’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title Tag’ is closed to new replies.