I am trying to figure out how to get the Co-Authors plugin to work properly with my customized theme. I am having some serious difficulty. I was hoping someone out there might be able to lend a hand. The code around where the author byline is inserted is as follows:
<div class="byline author vcard"> <?php printf(__('Posted by %s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?> | <abbr class="published" title="<?php the_time('Y-m-d'); ?>"><?php the_time('F j, Y g:i a'); ?></abbr></div>
How should this be modified to make the plugin work? Needless to say. . . I didn’t code this and I am not a coder by nature. Any assistance would be greatly appreciated.
The topic ‘[Plugin: Co-Authors] Tricky Code Example’ is closed to new replies.