Support » Plugin: Co-Authors Plus » use other words then “and” as connectors

  • 3rtan5al1k

    (@3rtan5al1k)



    I have installed co-authors plus to be able to post articles with two or more authors. The by line displays ” author1 and author2″

    The blog is not in English, and I want to change the word “and” to something else. What code/file should I modify?

    Thanks

Viewing 1 replies (of 1 total)
  • becleung

    (@becleung)

    If you used this:
    coauthors_posts_links();

    The second param is the one that controls what delimiter appears between the last two authors, and it seems to default to “and”, like this:
    coauthors_posts_links( ',', 'and', NULL, NULL, TRUE );

    So to change it from “and” to “your word for and”, do this:
    coauthors_posts_links( ',', 'your word for and', NULL, NULL, TRUE );

    Just change “your word for and” to whatever word or symbol you want.

    They explain in more detail here:
    https://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/
    (It’s in the first big block of code on that page)

Viewing 1 replies (of 1 total)
  • The topic ‘use other words then “and” as connectors’ is closed to new replies.