• My current setup displays the blog name after the post title, but the tagline doesn’t appear on the homepage. I grabbed the piece of code (listed below) from this page, it’ just doesn’t include the tagline on the homepage, and I’m not too familiar with PHP. Any help is appreciated. Thank you!

    <title><?php wp_title('|',true,'right'); ?><?php bloginfo('name'); ?></title>

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Dustin Matlock

    (@arcturus-1)

    So, is anyone able to help with this? Thanks again.

    That line of code should work.

    Do you have an SEO plugin active or anything?

    I think hes talking about the where his “logo” is, the code you are adding adds a title( IE the title bar on your web browser) can you post your url

    Actually, I don’t think I read your entry correctly.

    You want to display the TAGLINE. The code you have there displays the TITLE and the website NAME. Not the tagline.

    The tagline is your website’s description. It’s displayed with the following:

    <?php get_bloginfo ( 'description' ); ?>

    So if you want all of the information in your title(title, name, and tagline), you should do something like:

    `
    <title><?php wp_title(‘|’,true,’right’); ?><?php bloginfo(‘name’); ?> <?php get_bloginfo ( ‘description’ ); ?> </title>

    Yeah, you’re probably right Chris. Maybe we should figure out exactly what he’s wanting to do.

    Thread Starter Dustin Matlock

    (@arcturus-1)

    Hey guys, thanks for the replies. The code you posted for some reason does not show the description when at the homepage.

    This bit of code works for what I’d like:

    <title><?php bloginfo('name'); ?> | <?php is_home() ? bloginfo('description') : wp_title(''); ?></title>

    It just doesn’t incorporate the

    wp_title('|',true,'right');

    part that seems to display the title of the page to the right when on a page or post. I’ve tried a few combinations of the two, but I’m not really familiar with PHP. Thanks, once again!

    Thread Starter Dustin Matlock

    (@arcturus-1)

    Just curious if there was a solution to this. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Tagline not appearing on homepage’ is closed to new replies.