• Resolved btzone

    (@btzone)


    Is there a link to download version 2.6.4?

    I just updated to 3.0 and want to return to 2.6.4 as it has broken the list of authors.

    With version 2.6.4, this listed all authors (full name, with count of posts):
    <?php coauthors_wp_list_authors('optioncount=1&show_fullname=1'); ?>

    Now, the same code only displays ~ half the authors. It’s not even those that are co-authors only. Some of them are the single author on a post. I can’t figure out the trick to get it to work again.

    I had this same sort of issue when I upgraded to 2.6.4. However, I was able to edit an entry with an author not displayed on the list, publish it again, and the authors list was corrected. This time, that trick isn’t working.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • 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.)

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Oh, I haven’t looked at that function in a while. I’ll do some testing. Do all of your users have the role ‘author’ or do they have other roles as well?

    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)

    All only have the role of Author.

    Thread Starter btzone

    (@btzone)

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

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    I think I see what’s going on. I’ve filed an issue and will have this fixed in the next release.

    how can i downgrade back to 2.6.4?

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    I don’t recommend downgrading. I’ll have the next release out within a week.

    I’ll hold off until then. thanks daniel!

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    This is fixed in v3.0.1

    apologies, but i believe i need some help with this. this is what the code looks like on the loop-single.php for me. what areas do i need to modify with “coauthors_posts_links” in order to get the plugin back up and working well? if you can help me with this, i’m pretty sure i’ll be able to figure out the other small areas that might need modification. thanks again daniel and sorry for the trouble!

    <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries  ?>
    						<div id="entry-author-info">
    							<div id="author-avatar">
    								<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'synch_author_bio_avatar_size', 60 ) ); ?>
    							</div>
    							<div id="author-description">
    								<h2><?php printf( esc_attr__( 'About %s', 'synch' ), get_the_author() ); ?></h2>
    								<?php the_author_meta( 'description' ); ?>
    								<div id="author-link">
    									<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
    										<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'synch' ), get_the_author() ); ?>
    									</a>
    								</div>
    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)

    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.

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Rather than changing the value in the plugin, I’d instead recommend passing the ‘number’ argument to the function:

    <?php coauthors_wp_list_authors('optioncount=1&show_fullname=1&number=20'); ?>

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Downgrade to 2.6.4 or revise list_authors’ is closed to new replies.