You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Found a possible code bug?

UserPost

4:09 pm
April 7, 2009


megtia

Member

posts 21

1

Just noticed on my page view source:

<title>| Blog Name</title> The Extra '|' shouldnt be there?
How do I remove this extra '|' ?

Code around that area in header.php is:

<title>
<?php wp_title('');?>
<?php if(wp_title('', false)) { echo ' :'; } ?>
<?php bloginfo('name'); ?>
</title>

I havent touched that part of the code – so hopefully it's nothing that I have done. Tried a few things but just got an error.
Thanks

5:14 pm
April 7, 2009


Ryan

Admin

posts 1523

2

Do you have the All in one SEO plugin installed?

6:06 am
April 8, 2009


megtia

Member

posts 21

3

No, I use Platinum SEO it's better and dosent normally conflict with other plugins, is there a connection?

I have not used it on the home page or used the home title section if that helps to know.

Thanks

5:24 pm
April 8, 2009


Ryan

Admin

posts 1523

4

The only reason I asked was because the All in One plugin puts the | in your titles by default separating the post or page title from the blog name.  You can email me your URL on my contact page if you want me to take a look.  Haven't seen this before.

3:52 pm
April 29, 2009


megtia

Member

posts 21

5

Hi, been offline, little scrape in my car. I'll email you the url as the site now has dns and im back to work :) Thanks

5:54 am
May 1, 2009


megtia

Member

posts 21

6

Hi Ryan,

Sent you a message on your contact form as asked- did you get it ok?

Thanks