Support » Plugin: Co-Authors Plus » [Plugin: Co-Authors Plus] Change "and" for "&"?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Any news on how to implement this?? 🙂

    Plugin Author Daniel Bachhuber


    Hand Built

    Yes! It’s totally possible. Sorry we missed this. If you’re using the most recent version of Co-Authors Plus, you can add a snippet like this in your theme’s functions.php file to change the output:

    define( 'COAUTHORS_DEFAULT_BETWEEN_LAST', ' & ' );

    Hope this helps!

    Hey Daniel, thanks for your great plugin. I added the snippet to functions.php, and it throws following debug info: “Notice: Constant COAUTHORS_DEFAULT_BETWEEN_LAST already defined in …/functions.php on line …”. Also, adding the snippet didn’t change the default “and”.

    Furthermore, I localized the plugin with poedit and translations work fine in admin, but don’t seem to take effect on the front (i.e. it doesn’t seem to translate the __( ' and ' ) ). FYI: I wrapped the coauthors_posts_links() template tag in a custom function like e.g. my_author_posts_links().

    Hi there!

    Thanks for reply, I tried to add this in the themes functions.php

    define( 'COAUTHORS_DEFAULT_BETWEEN_LAST', ' & ' );

    This made no change at all.

    I also have the same problem as donutz about localization, see post here:

    Would be very happy for any input on how to change the “and” between the authors’ names..

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Co-Authors Plus] Change "and" for "&"?’ is closed to new replies.