Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter btzone

    (@btzone)

    No worries, found the issue. Dug into co-authors-plus/template-tags.php and changed the number limit for authors. Just posting this in case anyone else has the same issue.

    Thread Starter btzone

    (@btzone)

    Decided to upgrade back. Now at v3.0.4. Still having the issue.

    Using:
    <?php coauthors_wp_list_authors('optioncount=1&show_fullname=1'); ?>

    Returns the first 15 authors only. I don’t have that many total, less than 20, but still more than 15. Did something change where I should change the code on my end?

    Thread Starter btzone

    (@btzone)

    Downgraded back to 2.6.4 for the meantime. All authors listed with this version.

    Thread Starter btzone

    (@btzone)

    All only have the role of Author.

    Thread Starter btzone

    (@btzone)

    For testing purposes, I removed coauthors to see what the regular WP code would do. Then I did an option with the numbers as well.

    <?php wp_list_authors('number=1'); ?>

    With no number limitation, “all” of the authors were listed, it did not cut off after a certain number. However, as expected, the authors who are co-authors only, i.e., do not have any post solely to themselves, are not listed. Additionally, the total count of posts for sole authors excludes their co-author credits, i.e. if an author has 10 sole posts and 1 co-authored post, the total count list should be 11 but it is only displaying 10 since it’s not calling upon the coauthor plugin. When using the number option, it limited output as it should.

    This leads me to believe something about the plugin is ignoring the number option in wp_list_authors and is doing the default “list all authors”. Rather, it’s cutting off the list of authors.

    Thread Starter btzone

    (@btzone)

    I realized that the code posted above (coauthors_wp_list_authors) is listing the first 8 authors. There should be another 10.

    I have tried removing both options or even just removing show_fullname but the full name of authors is still displayed. I have added the option for limiting the number of authors (number=20) so that all the authors will display or even just a one as a test (number=1) but neither affected the output.

    <?php coauthors_wp_list_authors('number=1'); ?>

    WordPress version 3.4.2.
    All other plugins deactivated for testing purposes. (Had no effect either.)

Viewing 6 replies - 1 through 6 (of 6 total)