• Resolved underclass

    (@underclass)


    I’ve altered the separator between the first and last author;

    if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links('', ', photos by ', '', ''); } else { the_author_posts_link(); }

    but I keep getting an extra space after the first authors name ie;

    Joe Bloggs , photos by Jane Bloggs

    Any ideas?
    Thanks

    https://www.ads-software.com/plugins/co-authors-plus/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    This is fixed in 3.0.7. Thanks for the report!

    pjkarlsen

    (@pjkarlsen)

    Dear Daniel Bachhuber,

    We just updated to the latest version of Co-Authors Plus, and I noticed that we now lack a space before the “and” “(“og” in Norwegian) between the first and the last author:

    e.g.:
    TEKST: KAREN EIMOTOG MADELEINE DALSKLEV

    https://psykologisk.no/2014/02/bobo-eksperimentet/

    I assume that the update below may be the cause of our problem, so I was wondering if there is a simple fix:

    “3.0.7 (Jan. 27, 2014)
    Bug fix: Remove extraneous space between last two co-authors output. Props johnciacia.”

    Thank you so much for your time and consideration. We very much enjoy using your plugin.

    sergio.majluf

    (@sergiomajluf)

    We have the same issue in spanish after updating the plugin to 3.0.7

    I find the easiest fix was to update the .po / .mo files

    Here are my fixed language files. I fixed spanish, french (and also deutch IIRC)

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Thanks for the files, Sergio. I’ve turned them into a pull request.

    It appears that the changes are a bit more than what you’re describing here. Can you review the diff and confirm that everything changing should actually be changed?

    sergio.majluf

    (@sergiomajluf)

    On the contrary, thank you for the plugin!
    Should have looked for the git repository first ??

    Some of the diff are part of the files comments, and others, honestly, I don’t know, because I didn’t change them at all. All I did was make sure that there was a space before and after the ” and ” translation for those given languages.

    I was using Poedit for OSX.

    For simplicity, and avoiding code conflict, I can start over, clone the repo, edit the files again (only changing the specifi parts relevant to this problem) and do the pull request

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    For simplicity, and avoiding code conflict, I can start over, clone the repo, edit the files again (only changing the specifi parts relevant to this problem) and do the pull request

    Seems reasonable — localization isn’t my strength, so I don’t know off the top of my head the best way to do this.

    pjkarlsen

    (@pjkarlsen)

    Thank you, Sergio and Daniel. I am really grateful for your work.

    Thread Starter underclass

    (@underclass)

    Perfect, thanks for the support!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Extra space after first author’ is closed to new replies.