Vohl,
Where are you seeing this behavior, specifically? There are a couple of options under Title Settings that control capitalization, these are “Capitalize Titles” and “Capitalize Category Titles” – you could try turning them off if they’re on.
Thread Starter
Vohl
(@vohl)
Peter,
I tried turning them off, with no luck whatsoever.
I’m getting this misbehavior in the posts of the certain authors with hyphens or dots in their usernames. In Post Title Format, I’m using the first name macro in the following order:
%post_title% | %post_author_firstname% | %blog_title%
In WordPress settings, I’m writing the desired author’s usernames (a nickname or a first name and a surname) in the First Name column.
So, if I have an author named John Doe, all is well in the tabs as well:
%post_title% | John Doe | %blog_title%
But, if the author’s name is Power-driven (small “d”) or No.Ki. (capitalized letter after the dot), the lines in the tabs look like this:
%post_title% | Power-Driven | %blog_title%
and
%post_title% | No.ki. | %blog_title%
In the author’s archives (using – %author% | %blog_title%), the lines in the tabs are as they should be:
John Doe | %blog_title%
Power-driven | %blog_title%
No.Ki. | %blog_title%
Thanks for your help,
Vohl
Vohl,
I can verify that this is expected behavior; if you look at the help for Post Title Format, you’ll see this:
%post_author_nicename% – This post’s author’ nicename
%post_author_firstname% – This post’s author’ first name (capitalized)
%post_author_lastname% – This post’s author’ last name (capitalized)
First name and last name are each capitalized using the ucwords() function, so that’s what’s going on here.
Thread Starter
Vohl
(@vohl)
Peter,
Sure, I read those, but I thought it meant that the first letter of the first name and the first letter of the last name will be in uppercase, and you can do what you like with the rest of them. 🙂
Isn’t there a way for the plugin to read the names as they are, like in the author’s archives, or will the dots and hyphens always be out of the question?
Thanks again,
Vohl
Vohl,
Currently if you wanted to change how that part of the title gets output, you’d have to filter the title and replace it with your own; this is entirely possible, however. You should be able to use the aioseop_title_single filter, or more generally, the aioseop_title will always work (but then you’d have to check what kind of post it is as well).
Thread Starter
Vohl
(@vohl)
Thanks, Peter – for both the suggestions and the wonderful plugin.
Thread Starter
Vohl
(@vohl)
Peter, I’m noticing similar behavior in my categories as well.
Only the first letter of the acronyms is capitalized, so, instead of, let’s say, DNA – %blog_title%, I’m getting Dna – %blog_title%. 🙂
Vohl,
There’s an option in All in One SEO Pack for capitalizing category titles; if you have that checked, you can try unchecking it.
Thread Starter
Vohl
(@vohl)
Thanks, Peter.
I, once again, overlooked this option. 🙂