WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Extra space after first author (9 posts)

  1. underclass
    Member
    Posted 6 months ago #

    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

    http://wordpress.org/plugins/co-authors-plus/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 6 months ago #

    This is fixed in 3.0.7. Thanks for the report!

  3. pjkarlsen
    Member
    Posted 5 months ago #

    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

    http://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.

  4. sergio.majluf
    Member
    Posted 5 months ago #

    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)

  5. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 5 months ago #

    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?

  6. sergio.majluf
    Member
    Posted 5 months ago #

    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

  7. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 5 months ago #

    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.

  8. pjkarlsen
    Member
    Posted 4 months ago #

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

  9. underclass
    Member
    Posted 4 months ago #

    Perfect, thanks for the support!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.