Answers for "how to get post by author id in wordpress"

0

wp get post author link

<?php $author_id=$post->post_author; ?>
<img src="<?php the_author_meta( 'avatar' , $author_id ); ?> " width="140" height="140" class="avatar" alt="<?php echo the_author_meta( 'display_name' , $author_id ); ?>" />
<?php the_author_meta( 'user_nicename' , $author_id ); ?>
Posted by: Guest on June-16-2021

Code answers related to "how to get post by author id in wordpress"

Browse Popular Code Answers by Language