WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Coauthors Plus] Author archives problem (2 posts)

  1. solutionsphp
    Member
    Posted 4 years ago #

    I have successfully installed Coauthors and modified my single.php template to show the authors in the byline. No problems there.

    ex. Post by John and Henry

    Both "John" and "Henry" link to their author archives,
    mysite.com/authors/john
    mysite.com/authors/henry

    John's archive is fine. The problem is when I click on Henry's archive, I get John's info (name and bio.)

    The relevant template tags used in the authors.php file are

    the_author
    the_author_description

    How do I use the CoAuthorsIterator class to display only Henry's name on his author archive?

    And, what's the Coauthors equivalent tag for the_author_description?

  2. solutionsphp
    Member
    Posted 4 years ago #

    Please disregard the last part of my question. the_author_description is deprecated, and I found the info about the coauthor meta.

    But I'm still stumped about how to get the right author information on the author archive pages. I've been playing with the iterator class but I can only get one author name or the other, not the correct one on the right archive. Thankfully, the author archives are displaying the correct posts, but my hard working authors are not going to be keen to see my mug shot and bio on all their pages! ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags