Display posts avatar
-
Hello, I’ve been using your plugin for quite some time & I would like the basic posts layout to display the authors avatar & name. I’m thinking I can use the hook below but I’m just not sure where I would add it into you php file.
<?php echo get_avatar( get_the_author_meta(“email”), ’48’ ); ?>
This is my shortcode config.
[lptw_recentposts layout=”basic” post_type=”post” fluid_images=”true” posts_per_page=”8″ reverse_post_order=”false” thumbnail_size=”full” color_scheme=”no-overlay” background_color=”#4CAF50″ text_color=”#ffffff” show_date_before_title=”true” show_date=”false” show_time=”false” show_time_before=”true” date_format=”d.m.Y” time_format=”H:i” no_thumbnails=”hide”]
Thanks,
Ryan
- The topic ‘Display posts avatar’ is closed to new replies.