Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi hubber. This should add the Author to your home/archive/etc. posts:

    1. copy content.php and content-featured.php from the parent theme to your child theme.

    2. In both of those files, in the post-meta-group container, add the line for the author:

    <div class="post-meta group">
       <p class="post-category"><?php the_category(' / '); ?></p>
       <p class="post-date"><?php the_time('j M, Y'); ?></p>
       <p class="post-author"> &nbsp;&middot; <?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?></p>
    </div><!--/.post-meta-->

    To add the author to the widget posts, see this pastebin code. Hope that helps.

    Thread Starter hubber47

    (@hubber47)

    bdbrown,
    Thank you so much. That works perfectly.
    I really appreciate the time and effort you’ve went to in providing not only the solution but such clear, easy-to-follow guidance.
    Help like this is so invaluable to newbies like myself.
    Thanks again,
    Mark

    You’re most welcome. Glad I could help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding author name to post meta data’ is closed to new replies.