Co-Authors Plus
Help integrating co-authors plus into our new theme (1 post)

  1. partnowjess
    Posted 2 years ago #

    We just launched a new theme and I'm trying to figure out how to integrate the Co-authors plus plugin.

    The code for our byline looks like this:

    $buffy .= '<span class="td-block-author">';
                    $buffy .= __td('by', TD_THEME_NAME);
                    $buffy .= ' ';
                    $buffy .= '<a itemprop="author" href="' . get_author_posts_url($this->post->post_author) . '">' . get_the_author_meta('display_name', $this->post->post_author) . '</a>' ;
                    $buffy .= ' - ';
                $buffy .= '</span>';

    So I think I should just be able to add the conditional statement into the author line above, but it's a little beyond my knowledge...can anyone here point me in the right direction?

    Our site is here: http://seattleglobalist.com
    And here's an example of a post with two authors (though they don't display on the front end currently): http://www.seattleglobalist.com/2013/12/30/an-elusive-japanese-new-years-treat-returns-to-seattle/18592


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic