Co-Authors Plus plugin

Home Forums Iconic One Pro Support Co-Authors Plus plugin

This topic contains 2 replies, has 2 voices, and was last updated by  Themonic-Support 6 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5142

    miswit
    Participant

    How do I integrate Co-Authors Plus plugin into Iconic One Pro? I don’t know what
    code to use or where to put it. Can you help me? Going to the Co-Authors Plus support site doesn’t give me any clue as to how to integrate it into this theme.

    #5150

    Hi,

    This will require testing before I can provide integration code. You have to wait a bit more (48-72 hours).

    #5152

    Replace line 30 of content.php which is

    <span class="fn"><?php echo the_author_posts_link(); ?></span>

    with

    <span class="fn"><?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(); } else { the_author_posts_link(); } ?></span>

    Another way if you want without hyperlinks, try pasting the below after line 156 of content.php

    <?php if ( function_exists( 'coauthors' ) ) { coauthors(); } else { the_author(); } ?>

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

You must be logged in to reply to this topic.