Skip to content

Instantly share code, notes, and snippets.

@aosipov
Created November 23, 2017 21:25
Show Gist options
  • Save aosipov/c6213cefe5f11f67ac3e0049b0d55458 to your computer and use it in GitHub Desktop.
Save aosipov/c6213cefe5f11f67ac3e0049b0d55458 to your computer and use it in GitHub Desktop.
author avatar block
<div class="author-block">
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'ID' ), 48 );?>
</div>
<div class="by">by</div>
<div class="author-name"><?php the_author(); ?></div>
<div class="timestamp"><?php the_modified_time('F j, Y'); ?></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment