“WordPress Get Post Author Link” Respostas de código

WordPress Get Post Author Link

<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" 
  title="<?php echo esc_attr( get_the_author() ); ?>">
  <?php the_author(); ?>
</a>
Developers

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 ); ?> 
Fragile Ferret

Respostas semelhantes a “WordPress Get Post Author Link”

Perguntas semelhantes a “WordPress Get Post Author Link”

Mais respostas relacionadas para “WordPress Get Post Author Link” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código