Haifa Wehbe - WesternUnion - Loans - Computer Printer - Loans

PDA

View Full Version : How To Modify Titles In Wordpress


Skinny
Apr 22nd 2006, 7:36 am
Okay, I think in the header file you can modify how the titles appear.

Right now my home page display: Gazotto
And my post pages display: Gazotto > Name of Post

If I want to Modify this so that home page is: Gazotto - Gadget Blog
and my post pages are: Name of Post.

How do I do that?

Skinny

bradyb
Apr 22nd 2006, 7:55 am
You should be able to try something like this:

<title><?php if ( is_home() ) { bloginfo('name'); ?> - Gadget Blog <?php } ?> <?php if ( is_single() ) { wp_title(''); } ?></title>

cpucandy
Apr 22nd 2006, 7:40 pm
Skinny, you may also want to do a search for "wordpress seo". You will come across a couple of sites that go over what changes should be made for SEO.

I just rebuilt my computer and don't have my bookmarks, I would have sent them to you.