Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25826

    How do I get the blog authors name to show up in the metadata at the end of the post?

    http://www.jehassociates.com/jeh_blog/

    Thanks

    #128326

    Open up wp-contentthemescoherenceincludesloop-index.php and replace

    if(!empty($cats))
    {
    // __('posted in','avia_framework')
    echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
    the_category(', ');
    echo ' </span>';
    echo '<span class="text-sep cat-sep">/</span>';
    }

    with

    if(!empty($cats))
    {
    // __('posted in','avia_framework')
    echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
    the_category(', ');
    echo ' </span>';
    echo '<span class="text-sep cat-sep">/</span>';
    }

    echo '<span class="blog-author minor-meta">'.__('by ','avia_framework');
    the_author_posts_link();
    echo '</span>';

    #128327

    That works! Thank you.

    #128328

    Glad Dude could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

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

The topic ‘Blog author’ is closed to new replies.