So far my title is <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?><?php bloginfo('name'); ?></title> Code (markup): How can I remove blog name after post title? As now it is: Post Title : Blog Title. tried to remove last php code line but then there is no blog name in home page...
<title><?php if(wp_title('', false)) {php wp_title(''); echo ' :'; } ?><? else php bloginfo('name'); ?></title> try this too
Well, there should be a way to change something so it won't add blog name at the end of each post title...
All in One SEO does it for you and it has other really nice seo factors. This below should do it also. I just hate to cut code because things change like WP versions etc. Plugins are a much nicer/ easier way to go in my opinion.
Here's a link to the All-in-One SEO plugin that Blonde Jon is talking about. It's really amazing and will save you a lot of time. http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
The following code removes blog title from index page + adds "archive" in blogpo sts. Anyway, thanks for everyone help, will have to install that plugin I guess.