Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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>
 
PREVIOUS NEXT
Tagged: #wordpress #post #author #link
ADD COMMENT
Topic
Name
8+2 =