Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Add About Author info in Post

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years ago.

  • Author
    Posts
  • #123341

    Anna
    Keymaster

    Before this code in single.php


    < ?php get_template_part('templates/related_posts');?>


    < ?php comments_template('', true);?>

    Add this code

    < ?php print get_avatar( get_the_author_meta( 'ID' ), 32 ); ?>

    < ?php printf( __( 'About %s', 'wpestate' ), get_the_author() ); ?>

    < ?php the_author_meta( 'description' ); ?>

    This section has to be styled in style.css as the code would come with wordpress default design.

    Thank you
    Anna

You must be logged in to reply to this topic.