WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
duplicate author name displayed -using elegant themes (7 posts)

  1. zwrodgers
    Member
    Posted 1 year ago #

    I am using Elegant Themes and the posts and archives all duplicate the co-authors name. I'm a beginning coder (self-taught) and don't know anyone who knows PHP, so I'd greatly appreciate the help! site: gospelglory.net

    http://pastebin.com/iwpz0BPW

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Can you create a public pastebin so I can see it?

  3. zwrodgers
    Member
    Posted 1 year ago #

    my bad! Here you go: http://pastebin.com/TSyEcFWB

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    What are you trying to do? Also, why do you have this in there?

    return apply_filters( 'coauthors_posts_links', $link );

  5. zwrodgers
    Member
    Posted 1 year ago #

    Well, big picture, I'm trying to create something similar to the authors list page of The Resurgence and then authors archive page similar to theirs, as well.

    But, my intent in posting on the forum is simply to figure out how to eliminate the duplicate author names in posts, as seen in this post.

    And I'm not sure why return apply_filters( 'coauthors_posts_links', $link ); is in there - I removed it. I barely know anything about php (or coding in general), so I'm teaching myself as I go. Thanks for your help.

  6. zwrodgers
    Member
    Posted 1 year ago #

    Daniel - do you know why my authors are being displayed twice and how to remove the duplicate?

  7. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    You might want to try swapping et_get_the_author_posts_link() wherever you have it in your theme with coauthors_posts_links().

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags