Answers for "how to get author name in wordpress post from class"

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 author name in wordpress post from class"

Browse Popular Code Answers by Language