DarkOcean
05-04-2012, 03:13 PM
Hi,
I'm trying to create some seo-friendly titles for site and need help with how to code the title tag.
For the dynamic part I have received this:
<title><?php if( $post ) { echo $post->post_title; }?></title>
Now I want to add some static text next to this, so it would look like:
Photo gallery >> Worlds leading school of photography.
The 'Photo gallery' text is now generated by the dynamic title tag. I just want to know what the correct way is to add the static text: '>> Worlds leading school of photography.'
Any help would be greatly appreciated!
I'm trying to create some seo-friendly titles for site and need help with how to code the title tag.
For the dynamic part I have received this:
<title><?php if( $post ) { echo $post->post_title; }?></title>
Now I want to add some static text next to this, so it would look like:
Photo gallery >> Worlds leading school of photography.
The 'Photo gallery' text is now generated by the dynamic title tag. I just want to know what the correct way is to add the static text: '>> Worlds leading school of photography.'
Any help would be greatly appreciated!