Co Authors no longer working in Twenty Thirteen
-
I am running a child theme of Twenty Thirteen with Co Authors Plus, and I noticed that author names are no longer appearing in the articles. I have used the following code in functions.php of the child theme:
<?php function twentythirteen_entry_meta() { if ( is_sticky() && is_home() && ! is_paged() ) echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>'; if ( ! has_post_format( 'link' ) && 'post' == get_post_type() ) twentythirteen_entry_date(); // Translators: used between list items, there is a space after the comma. $categories_list = get_the_category_list( __( ', ', 'twentythirteen' ) ); if ( $categories_list ) { echo '<span class="categories-links">' . $categories_list . '</span>'; } // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'twentythirteen' ) ); if ( $tag_list ) { echo '<span class="tags-links">' . $tag_list . '</span>'; } // Post author if ( function_exists( 'coauthors_posts_links' ) ) { echo '<span class="author vcard">' . coauthors_posts_links() . '</span>'; } else { echo '<span class="author vcard">' . the_author_posts_link() . '</span>'; } } ?>
Why aren’t the authors showing up anymore?
- The topic ‘Co Authors no longer working in Twenty Thirteen’ is closed to new replies.