• Anyone know if it’s possible to give site users the option of having a joint byline appear as “by X with Y” instead of “by X and Y”? I’m looking at the plugin code, and not seeing any obvious hooks for this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • In template-tags.php, find this line:

    $default_between_last = ( defined( 'COAUTHORS_DEFAULT_BETWEEN_LAST' ) ) ? COAUTHORS_DEFAULT_BETWEEN_LAST : __( ' and ', 'co-authors-plus' );

    Change it to this:

    $default_between_last = ( defined( 'COAUTHORS_DEFAULT_BETWEEN_LAST' ) ) ? COAUTHORS_DEFAULT_BETWEEN_LAST : __( ' with ', 'co-authors-plus' );

    Thread Starter nulldogmas

    (@nulldogmas)

    Thanks! That will change it to “with” in all cases, though, yes? I’m looking to provide an option where either can be selected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Option for “with” instead of “and”?’ is closed to new replies.