WordPress.org

Ready to get started?Download WordPress

Forums

Blog Name and Tag Line Not Showing (5 posts)

  1. ChocolateArchy
    Member
    Posted 4 years ago #

    I have recently reloaded my wordpress.org page to fix some bugs that I accidentally aquired. Everything is working fine now, save for the fact that my blog title and the tag line are not showing. I've gone into the General Settings and changed the name and tagline, which has worked in the past. I'm afraid the problem lies in the code. I think it is within the "header.php" I found the following code, but am unsure as to how to edit it to make the blog title and tag line appear on my webpage.

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

    Someone please help me!

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

    That's the wrong <title>. It displays the name of the blog in the top of the browser window. Maybe if you posted a link to your site, I might be able to suggest some code that you could add to header.php.

  3. jherold06
    Member
    Posted 4 years ago #

    I'm having a similar problem. My blog title is showing up but not the tag line. I'm using the text-based logo.

  4. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    can't help without seeing the problem - a link to the site ?

  5. desibird
    Member
    Posted 4 years ago #

    @jherold the tag line might be commented!! (<!-- -->).. get rid of them and have a look!!

    @choclate: boy, re-look at your code..!!

    a standard wordpress header.php code will be: <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>

    copy and paste the above code and leave a rep!!

    cheers

Topic Closed

This topic has been closed to new replies.

About this Topic