WordPress.org

Ready to get started?Download WordPress

Forums

Featured Images in RSS w/ Size and Position
[resolved] Images show up twice (2 posts)

  1. Yehtsuiyun
    Member
    Posted 4 months ago #

    First of all, I'm grateful that this plugin has been made. I was having trouble including images in my RSS feed in order for them to show up in bloglovin. After I've installed this plugin, the images showed up immediately in my RSS feed but DOUBLE. Have a look here. Does anyone know how to solve this problem?

    I'll be forever grateful. Thanks in advance!

    https://wordpress.org/plugins/featured-images-for-rss-feeds/

  2. Rob Marlbrough
    Member
    Plugin Author

    Posted 4 months ago #

    HI there,

    It seems your posts have the images set in the body, as well as the featured image set? That would result in double images, if your theme does not display featured images and so you include them in the body.

    The resolution is to either use a theme that uses and displays the featured image, or add the featured image to your existing theme, which should be a few lines of code:

    In the functions.php file, add:

    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 80, 55, true ); // W x H, hard crop

    Then in the single post page, these lines would be added in the right spot:

    <?php
    if ( has_post_thumbnail() ) {
    // the current post has a thumbnail
    the_post_thumbnail();
    } else {
    // the current post lacks a thumbnail
    }
    ?>

    More info: http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/

Reply

You must log in to post.

About this Plugin

About this Topic