Created
November 23, 2017 21:25
-
-
Save aosipov/c6213cefe5f11f67ac3e0049b0d55458 to your computer and use it in GitHub Desktop.
author avatar block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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