WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Authors Not Showing Up in Posts (8 posts)

  1. icemonkey9
    Member
    Posted 2 years ago #

    My use case: An editor would enter in a post on someone else's behalf. The editor would then use the Authors area to select one of our users and then that person would be the author, as seen on the By Line when the post published.

    Problem: The by line is only showing the user that entered in the article, not the person set as the author thanks to the plugin.

    Is there any way to fix it? I've tried changing the author to someone else, then changing it a third time to the intended author, with no luck.

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Have you implemented the template tags? Can you share screenshots of what you see on the frontend vs. the backend? Which theme are you using?

  3. johnkwhite
    Member
    Posted 2 years ago #

    I'm having the same issue. I've tried to tweak the functions.php but I broke the site.

    Is there clear documentation for a noob?

    http://banklesstimes.com/

  4. icemonkey9
    Member
    Posted 2 years ago #

    Yeah the 3.03 update did nothing to resolve this.

    1. No, I have never used the template tags. Are they mandatory?

    2. A screenshot demonstrating the problem is at this link (impossible to attach on this thread): http://imgur.com/WmkJ8

    3. I am using this on two different themes. Same problem, both places.

  5. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Yes, the template tags are mandatory.

  6. icemonkey9
    Member
    Posted 2 years ago #

    That's really bad news for me then. No offense, but that documentation via that link isn't helpful to me. For example I found this in my single.php file:

    ---------------------
    <?php if ($wpzoom_singlepost_author == 'Show') { ?><li class="author"><?php the_author_posts_link(); ?> <?php } ?>
    ---------------------

    How am I supposed to know how to turn it into your example:

    ----------------------------
    if ( function_exists( 'coauthors_posts_links' ) ) {
    coauthors_posts_links();
    } else {
    the_author_posts_link();
    }
    -----------------------------

    Is that supposed to be this:

    <?php if ($wpzoom_singlepost_author == 'Show') { ?><li class="author"><?php if ( function_exists( 'coauthors_posts_links' ) ) {
    coauthors_posts_links();
    } else {
    the_author_posts_link();
    } ?> <?php } ?>

  7. icemonkey9
    Member
    Posted 2 years ago #

    Okay what I did is this... I'd find any instance of this:

    the_author_posts_link();

    and replaced it with:

    coauthors_posts_links();

    That seemed to resolve the issue actually. My only problem is that my Fancy Author box isn't reading the author thing correctly now. I don't expect you to know how to troubleshoot a different plugin, but any clue on what I should look for?

  8. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    My only problem is that my Fancy Author box isn't reading the author thing correctly now.

    It will probably need some development work in order to be fully compatible.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.