WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Use just commas to separate authors (3 posts)

  1. tonyfleming
    Member
    Posted 3 years ago #

    How can remove the AND before the last author. My blog's style would work better to have only comma between multiple authors' names.

    I thought I had located it in the co-authors-plus.php file, but deleting the word AND where it seems to be called did remove it from the displayed byline.

  2. Mohammad Jangda
    Member
    Plugin Author

    Posted 3 years ago #

    In your wp-config.php or your theme's functions.php, add the following:

    define( 'COAUTHORS_DEFAULT_BETWEEN_LAST', ', ' );

  3. tonyfleming
    Member
    Posted 3 years ago #

    Tried both of those, with no success. But your hint allowed me to find it in the co-authors-plus.php file, where I thought it would be. Just updated the define( 'COAUTHORS_DEFAULT_BETWEEN_LAST', and ', ' ); to your suggested code.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic