Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.  
  2. function comicpress_display_post_author() {
  3.     global $post,$authordata;
  4.     if ($post->post_type == 'post') { ?>
  5.     <span class=\"post-author\">
  6. <?php
  7.         if(function_exists('coauthors_posts_links')) {
  8.             _e('by ','comicpress'); coauthors_posts_links();
  9.         } else {
  10.             _e('by ','comicpress'); the_author_posts_link();
  11.         }
  12. ?>
  13.     </span>
  14.     <?php }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement