Adam’s Blog

To view the world from my own point

Adam’s Blog header image 2

Change the Tile Format of This WordPress Blog

October 11th, 2007 · 1 Comment

Today, I have changed the title format of this wordpress blog.

For example, the default format is:

Adam’s Blog - www.w757.com » Blog Archives » MSNShell - An add-on for MSN (Windows Live Messenger)

Now, the title is MSNShell - An add-on for MSN (Windows Live Messenger) at Adam’s Blog - www.w757.com .

Here is the steps:

First, log in and enter the dashboard of your blog.

Second, Click Presentation, Theme Editor, then click the Header on the right.

Third, you may find a line which is beginned by <title> and ended by </title>. Replace it with the following code:

<title><?php wp_title(”); if (function_exists(’is_tag’) and is_tag()) { ?><?php _e(’Tag Archive for ‘); ?><?php echo $tag; } if (is_archive()) { ?><?php _e(’ Archive’); ?><?php } elseif (is_search()) { ?><?php _e(’ Search for ‘); ?><?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists(’is_tag’) and is_tag()) or (is_archive()) ) { ?><?php _e(’ at ‘); ?><?php } ?><?php bloginfo(’name’); ?></title>

Click Update File.

Done.

Tags: , ,

The Article was First Published in Adam’s Blog<http://en.w757.com>

Link to the Original Page: http://en.w757.com/change-the-tile-format-of-this-wordpress-blog/

Related Post

1 response so far ↓

Leave a Comment