WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Co-authors plus plugin posting twice - Bangkok Press Theme (5 posts)

  1. shansmith01
    Member
    Posted 1 year ago #

    This plugin is a great idea! Just having issues with the Bangkok press theme (http://themeforest.net/item/bangkok-press-responsive-news-editorial-theme/1613446)

    When I replace the tags the authors names are appearing twice. I realise there is a solution for another theme but my code is a little different. currently my code looks like this

    echo '<div class="single-thumbnail-author"> ' . __('by','gdl_front_end') . ' ' . get_the_author_link() . '</div>';

    When i make the change here

    echo '<div class="single-thumbnail-author"> ' . __('by','gdl_front_end') . ' ' . coauthor() . '</div>';

    I then get the name displayed twice.

    Thanks for your help

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Instead of using coauthor(), you'll want to use coauthor( null, null, null, null, false )

  3. shansmith01
    Member
    Posted 1 year ago #

    Hey Thanks for that. Just a note to anyone else reading the code is
    coauthor( null, null, null, null, false ) noting the s in Authors

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Good catch :)

  5. ThierryM
    Member
    Posted 1 year ago #

    Thanks.
    I used your solution for Mantra theme. See here : http://wordpress.org/support/topic/how-incorporate-co-authors-plus-template-tags-into-mantra-theme?replies=2
    Regards,

    Thierry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic