• This is probably really easy and simple, but how do I get my blog’s headline to appear in the browser window’s top bar (i.e. next to the title).

Viewing 8 replies - 1 through 8 (of 8 total)
  • Did you go and enter the title of the blog in the options? Or are you talking about specific topic headings?

    WP Admin > Options > General > Weblog Title

    Thread Starter obstructionist

    (@obstructionist)

    Yes the title and tagline are written in options. And the the blog title appears in the browser’s top bar, but I also want the tagline to be in the browser’s top bar. There’s no option for that.

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

    Does that work?

    Thread Starter obstructionist

    (@obstructionist)

    I added it into the Header.php:

    <blockquote><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php if( is_search() ) { $ser = $_GET['s']; ?><?php _e('Search'); ?><?php echo " &quot;" . wp_specialchars($ser, 1) . "&quot;"; } ?><?php wp_title(''); ?><?php if( ! is_home() ) { ?> | <?php } ?><?php bloginfo('name'); ?><?php bloginfo('description'); ?></title></blockquote>

    But it still didn’t work. Is there another file I should be hacking?

    why do you have that stuff inside blockquote tags?? thats not proper (anything).

    I think this may work by itself,

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

    so the description call is possible.

    If you try that by itself, that will eliminate that part of the problem. And then if it works, the next step is to sort out your conditional calls – which will involve help from a far more knowledgeable person than myself.

    Hello… I’m having this same problem. It was not a problem when I was using WP2.5 for a different site. But with my new site and with WP2.6 the tagline that I typed in did not appear at the browser.

    Am I supposed to put this code at Header.php?
    <title><?php bloginfo(‘name’); ?> | <?php bloginfo(‘description’);?></title>

    But where exactly in the Header.php code?

    Appreciate your help very much.

    https://savvyhomemaker2u.com/

    “bloginfo” is in your header.php. I suggest you replace the line that word is in with the code given above by Shadow.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Tagline in Browser Window’ is closed to new replies.