WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Authors widget compatibility (4 posts)

  1. Roger N
    Member
    Posted 7 months ago #

    Hi!
    I just wanted to ask for some advise on how to get this widget to work with the plugin Authors(http://wordpress.org/plugins/authors/)

    For some reason although this plugin works for the admin and the pages it doesn't affect the Authors widget. Any suggestions on how to attack this problem?

    Thanks!

    http://wordpress.org/plugins/co-authors-plus/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 7 months ago #

    If you're using the guest authors feature of Co-Authors Plus, I'd recommend asking the Authors plugin author to add a filter to widget_authors_get_authors() (ref). Guest authors are actually stored as a custom post type, so you'd need to filter them into the result. It will require some custom PHP.

  3. Roger N
    Member
    Posted 7 months ago #

    Hi and thanks for looking into this so quickly!

    Yes I am using guest authors too, but in this case it is just a regular co-author. Only the first listed author for each article is listed in the widget, not the second, the co-author.

    For example you can see the two authors here, where only the first is listed in the widget on the first page: http://www.hroarr.com/follow-some-lessons-with-dagger-and-rapier/

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 7 months ago #

    It looks like the Author plugin has a dependency on count_many_users_posts(), and each author having at least one published post. Because the second author is stored as a taxonomy reference, if that second author is never stored as a first author WordPress won't know that the author has published posts.

    A simple test would be to publish one post with the second author as the first author, and see if the author will appear.

Reply

You must log in to post.

About this Plugin

About this Topic