WordPress.org

Forums

Co-Authors Plus
[resolved] coauthors_email function (2 posts)

  1. wpjsmith
    Member
    Posted 1 year ago #

    Hello,

    After updating from Co-Authors Plus from 3.0.5 to 3.0.6, I am having difficulty calling the coauthors_email function in my theme. Did that switch to a different name?

    Here is the code that was working up until updating the plugin:
    <?php if (is_single()) { ?>

    <span class="meta-author">
    <?php if(function_exists('coauthors_email'))
    coauthors_email();
    else
    the_author_email();
    ?>

    Now, it falls back to the author email instead of getting the coauthors email.

    Thanks!

  2. benlk
    Member
    Posted 1 year ago #

    This was because I added code to our copy of the plugin. The update overwrote the added code. If Automattic pulls this commit on GitHub to the official plugin, then this function will be included in the official version of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic