WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wpjsmith
    Member
    Posted 7 months 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 7 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic