badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

kumar.dhanasekharan

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to make co-authors plus to work? #45011
    kumar.dhanasekharan
    Participant

    I am not a programmer – I am trying to understand where the author template tags are and how to replace them. Any guidance is appreciated. I can do a child theme – which is OK.

    in reply to: How to make co-authors plus to work? #45010
    kumar.dhanasekharan
    Participant

    Ok, but I have not been able to find the existing author template tags in your theme… Which file under which directory carries this information on how you display author information…

    in reply to: How to make co-authors plus to work? #44970
    kumar.dhanasekharan
    Participant

    Thanks! My goal is to be able to assign multiple authors to a single post. If I can do this directly in Clean Retina, let me know how to do it. I found a plug-in that can assign multiple authors to a single post called “Co-Authors Plus”. Here’s what I am trying to do as per the instructions from Co-Authors Plus. https://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/

    Some excerpt from the Co-Authors Plus page:
    To integrate Co-Authors Plus, you’ll want to replace existing author template tags in your theme with a simple conditional that uses the Co-Authors Plus template tags if Co-Authors Plus is available. The conditional prevents your site from breaking (e.g. white screen of death) if Co-Authors Plus isn’t activated.

    For example, here’s how you would update the_author_posts_link() to instead use coauthors_posts_links():

    ?
    1
    2
    3
    4
    5
    if ( function_exists( ‘coauthors_posts_links’ ) ) {
    coauthors_posts_links();
    } else {
    the_author_posts_link();
    }
    However, the example above is a relatively simplistic way of presenting bylines. There’s a good chance your theme will need an adaptation of it.

Viewing 3 posts - 1 through 3 (of 3 total)