Support » Plugin: All in One SEO Pack » Post Author First Name

  • Resolved Vohl



    Using this macro in a post, I have a problem with usernames that are divided by a hyphen or a dot.

    In the first example, the first letter of the word after the hyphen is always capitalized and, in the second one, the first letter of the part after the dot is always in lowercase.


    1. Username named Power-driven turns out to be Power-Driven.
    2. Username named No.Ki. turns out to be

    In the author archives, however, all is well.

    Hoping for a quick fix in the near future. 🙂


Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Peter Baylies



    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.


    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%


    %post_title% | | %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,

    Plugin Contributor Peter Baylies



    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.


    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,

    Plugin Contributor Peter Baylies



    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).

    Thanks, Peter – for both the suggestions and the wonderful plugin.

    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%. 🙂

    Plugin Contributor Peter Baylies



    There’s an option in All in One SEO Pack for capitalizing category titles; if you have that checked, you can try unchecking it.

    Thanks, Peter.

    I, once again, overlooked this option. 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Post Author First Name’ is closed to new replies.