WordPress.org

Ready to get started?Download WordPress

Forums

Tab domain name displayed as a dash??! (12 posts)

  1. LEVI44
    Member
    Posted 4 years ago #

    My website http://www.faithfulcharm.com just has a dash instead of the domain name in the tab of the browser?! anyone know how i change this?

    cheers

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Start by inserting a blog title in Admin/Settings/General.

  3. LEVI44
    Member
    Posted 4 years ago #

    hmmm when i do this, it also appears on the front page though?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    It can be removed from the page's header area. However, I'd suggest using something like "Faithful Charm" rather than the site's url and entering a site description in Admin/Settings/General. It looks rather unprofessional in the browser tab as it stands.

    To remove the site's title from the page header area, edit style.css and change:

    #header h1 a, #header h1 a:visited {
    color:#4D3F44;
    display:block;
    padding-left:30px;
    text-decoration:none;
    width:auto;
    }

    to

    #header h1 a, #header h1 a:visited {
    color:#4D3F44;
    display:block;
    padding-left:30px;
    text-decoration:none;
    width:auto;
    position:absolute;
    top:-5000px;
    left:-5000px;
    }
  5. LEVI44
    Member
    Posted 4 years ago #

    ok thanks a lot, done that! still has the dash there....can i not change that?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Yes you can. Drop of copy of your theme's header.php file into the WordPress pastebin and post the pastebin url here.

  7. LEVI44
    Member
    Posted 4 years ago #

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    just a guess here, but line 9
    <title><?php if (is_home()) { bloginfo('description'); ?> &mdash; <?php } else { wp_title('',true); ?> &mdash; <?php } ?><?php bloginfo('name'); ?></title>

    the &mdash; business would be adding the dash I believe

  9. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Dat's the bunny.

    Amended header.php file in http://wordpress.pastebin.ca/1707232

    <title><?php if (is_home() || is_front_page() ) { bloginfo('name'); } else { wp_title('',true); ?> &mdash; <?php } ?><?php bloginfo('name'); ?></title>

    You should now just get your site name on the front page with the page/post title followed by the site name on underlying pages.

  10. LEVI44
    Member
    Posted 4 years ago #

    Thanks a lot both of you!!

  11. LEVI44
    Member
    Posted 4 years ago #

    Can you guys help?

    So my site faithfulcharm.com come up in google if you search faithful charm

    http://www.google.co.uk/#hl=en&source=hp&q=faithful+charm&btnG=Google+Search&meta=&aq=f&oq=faithful+charm&fp=a60718907b4ba39b

    but there is no URL just two dashes?!?!!? how can i change this?

  12. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    Faithful Charm
    Faithful Charm is a beautiful wedding jewellery site to bring you all kinds of delights for your special day! We want everything to be
    www.faithfulcharm.com/ - Cached

    this is what I see looking at google?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags