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

  1. Roger N
    Posted 2 years ago #

    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?



  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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 2 years 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.

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