WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Author Post Counts are Zero, Cannot Change Authors using Bulk Edit (5 posts)

  1. fpmsummer
    Member
    Posted 1 year ago #

    For some reason I've yet to figure out, on both my test site and my main site, one of my authors had his post counts set to zero after I started adding Co-Authors profiles for other users... I hadn't even gotten to that account yet.

    In the Posts listing, his name is still listed as the author, but in both the Users and Guest Authors listings (after I'd added him a few days later), it says he has zero posts.

    Also, I need to change the ownership of a lot of articles, in order to assign them to a dummy user account so their guest author profiles will take over when I remove the real accounts those people don't need... but I can't seem to change the author of the posts anymore unless I individually edit each and every post. Author seems to have vanished as a editable option when in the Posts listings.

    On a site with nearly 15k posts, that'd be a heinous process :)

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    In the Posts listing, his name is still listed as the author, but in both the Users and Guest Authors listings (after I'd added him a few days later), it says he has zero posts.

    Can you try updating one of the posts where he's assigned as an author? That should correct the post count. Keep in mind the post count only applies to published Posts, and doesn't account for CPTs, etc.

    but I can't seem to change the author of the posts anymore unless I individually edit each and every post.

    Are you referring to being able to change the author via Quick Edit or Bulk Edit?

    You should instead be able to create guest author profiles from the user, and delete the user. However, for all of the posts to be correctly assigned, you'll need to have been running Co-Authors Plus from the start of launching your site. Co-Authors Plus uses an author taxonomy to manage the byline relationship, but the terms are only added if the plugin is active when the post is published.

    Let me know if I can be of further assistance.

  3. fpmsummer
    Member
    Posted 1 year ago #

    Yes, editing then re-saving a post he previously "owned" did update the post counts, but since he used to have over 5000 posts to his name, just thinking about needing to manually update that one post at a time makes my head hurt :)

    And yes, I was talking about the Quick Edit/Bulk Edit no longer working for me to do some of those user/owner updates in.

    The problem that I'm trying to solve is that even though I've added the template tags, the byline in the post meta is still showing the original post author, and since I'm cleaning up posts anyway, the only posts I want to display the Author Box would be reviews and editorials, not the generic news. That's been a sticking point with this site for a few years now, not having the granularity to able to pick and choose which posts display the Author Box and which don't.

    So I'm trying to assign all of the "news" posts to a fake robot user, while keeping the reviews and other original posts to those authors, with their Author boxes... this is proving to be a tricky combination to work out, especially when adding Genesis Co-Authors to the mix (running Genesis, Metro theme).

    geez, I'd almost kill for a Genesis plugin or just a regular plugin that adds a feature where you could just click a checkbox to enable the author box display when creating or editing a post.

  4. TerraConnect
    Member
    Posted 1 year ago #

    I have the very same problem. When listing all users, their number of posts is wrong. Sometimes, by updating one post as suggested, the counting refreshes well sometimes not.

    We are running WP 3.5.1 multisite and Co-Author plus 3.1 from github.

  5. fpmsummer
    Member
    Posted 1 year ago #

    Some update on what's happening here. All of the glitches seem to be happening with my first user, the one with the lowest ID.

    When Co-Authors Plus is enabled, his 6000+ post count goes to zero. He has new posts since it was installed, and those 50+ posts show up in the Guest Authors listing, but not in the main users listing.

    When I disable the plugin, his post count goes back up over 6000 like normal.

    The funny part is I thought maybe I'd added his guest author profile incorrectly, so I deleted it and created it again. Now the post count for his user has the same number as he'd previously had listed under his Guest Authors post count, and his new Guest Authors post count is back to zero.

    This haphazard handling of post counts is making it impossible for to me try to get done what I originally wanted to use this plugin for: author boxes.

    Ideally what I want is for only the Guest Author profiles to display an author box, not the regular users. The fact this plugin could create a profile for a user was, I thought, the perfect way to separate the two... so far, I haven't been able to get that to work because of this bizarre behavior with the disappearing post counts.

    I thought I could get it to work by having the guest author profiles not be linked to the accounts for those few who would have both, but I haven't gotten it to work quite yet.

    Are these two issues related?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic