WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Co-Authors Plus] Displaying co-author contact info (1 post)

  1. 1rkamin
    Member
    Posted 5 years ago #

    Before implementing Co-Authors Plus, all posts on my site had author contact info coded the following way:

    <?php if ($email = get_the_author_email()) { ?>
    <br />Email: <a href="mailto:<?php echo antispambot($email) ?>"><?php echo antispambot($email) ?></a>
    <?php } ?>

    Now, with Co-Authors Plus, I have tried using coauthors_email and coauthors_emails to call up the contact info of the second author, but to no avail.

    Ideally, I would like to have my co-authored posts be structured to look like this:

    Author 1 name
    Author 1 email
    Author 1 phone

    Author 2 name
    Author 2 email
    Author 2 phone

    [I use cimy extra fields to add things like phone numbers]

    Is there something that I'm missing?

Topic Closed

This topic has been closed to new replies.

About this Topic