Support » How-To and Troubleshooting » include author avatar next to link in RSS feed
3 years, 4 months ago
Is this possible? I’d like to include the author’s avatar of a particular post next to the link (title of blog post) on an external non-wordpress page.
Right now I’m pulling the page title and can pull the post content, but can’t find a way to pull the author’s avatar as well.
In the same loop you’re using to grab the post content and page title, you need something like this:
<?php echo get_avatar( $id_or_email, $size, $default, $alt ); ?>