include author avatar next to link in RSS feed (2 posts)

  1. Lpspider
    Posted 3 years 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.

  2. Jonathan Lake
    Posted 3 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Topic