fbpx

WordPress

How to display your site title in the browser tab

This is what worked for me.  Your mileage may vary.

1. Edit the following file:

<your_blog>/wp-content/themes/<your_theme>/header.php

2. Find the line:

<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

3. Add the following line after the line shown above.

<title><?php wp_title(‘&laquo;’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>

4. Save the file and upload it to the same place on your website.

5. Reload your blog site and hope something else isn’t overwriting your site name.