The titles on my wordpress site are all messed up. I've tried all night to figure out what is wrong and can't. I want the title to look like so: On a page: "Website Name" - "Page Name" On homepage: "Website Name" On a single blog post: "Website Name" - "Post Title" On blog loop page: "Website Name" - Blog
Instead what I get is: On a page: "Website Name" - "Page Name""Website Name" On homepage: "Website Name" - "Website Name" "Webiste Description" On a single blog post: "Website Name" - "Post Title""Website Name" On blog loop page: "Website Name" - "Website Description"
I tried editing the code in the header.php but couldn't fix it. I tried using SEO Ultimate to replace titles but it had no effect at all, even disabling it didn't change anything.
Thanks Jamy, unfortunately I came across that link (and several similar pages) a few hours ago.
When I insert: <?php bloginfo('name'); ?><?php wp_title(); ?> That site says I should get: Blog Name » Title of Displayed Page But what I actually get is something like: Blog Name » Title of Displayed PageBlog Name (or Bob's Blog » A Blog By BobBob's Blog)
I essentially "ported" my theme from the HTML website I made last spring into wordpress using the tutorial on this (css tricks) site. So, in other words, my theme is build on top of the Stakers theme.
I suspect that something in the functions.php of the Stakers theme is preventing SEO Ultimate (I also tried the All In One SEO Pack plugin, same deal) from modifying the titles of pages. I don't understand why, if someone can let me know that would be great.
More importantly now though, is there a way to customize the $seperator? I'd like it to be '-' or '—' rather than the default '|' but I have no idea where or how to modify this.
In the functions.php for my theme it uses '$seperator' and by default that appears as '|' and I don't know how to change it. I'm not sure what you meant.
For those of you who are having a similar problem relating to the All In One SEO plugin, comment out the following line in your functions.php theme file:
On a page: "Website Name" - "Page Name"
On homepage: "Website Name"
On a single blog post: "Website Name" - "Post Title"
On blog loop page: "Website Name" - Blog
Instead what I get is:
On a page: "Website Name" - "Page Name""Website Name"
On homepage: "Website Name" - "Website Name" "Webiste Description"
On a single blog post: "Website Name" - "Post Title""Website Name"
On blog loop page: "Website Name" - "Website Description"
I tried editing the code in the header.php but couldn't fix it. I tried using SEO Ultimate to replace titles but it had no effect at all, even disabling it didn't change anything.
My website is: http://www.aarongmoore.com/
Please help!
When I insert:
<?php bloginfo('name'); ?><?php wp_title(); ?>
That site says I should get:
Blog Name » Title of Displayed Page
But what I actually get is something like:
Blog Name » Title of Displayed PageBlog Name
(or Bob's Blog » A Blog By BobBob's Blog)
I do not understand why this is happening.
http://www.blog.web6.org/wordpress-all-in-seo-pack-double-blog-title/
I essentially "ported" my theme from the HTML website I made last spring into wordpress using the tutorial on this (css tricks) site. So, in other words, my theme is build on top of the Stakers theme.
I suspect that something in the functions.php of the Stakers theme is preventing SEO Ultimate (I also tried the All In One SEO Pack plugin, same deal) from modifying the titles of pages. I don't understand why, if someone can let me know that would be great.
More importantly now though, is there a way to customize the $seperator? I'd like it to be '-' or '—' rather than the default '|' but I have no idea where or how to modify this.
Anyway, my last question is about changing the $seperator and not related to SEO.
As you can see, it has a $sep parameter in it, which you can alter. In other words, you can do the following:
to have '--' as the seperator.