• Hi I am developing a media site, unfortunately RSS feed doesn’t display any images with its post, but when i change the theme to some other ex: community theme” it shows perfectly. I really like this theme “cover wp” so i can’t go back using any other theme….(when i upload an image from my computer it shows perfectly, only from the feed it doesn’t shows)
    please help me asap.

    thanks in advance ;0)

    ps: I need to know if i could post of my articles in “featured” or “popular” by any chance??? if i could how???? I am only familiar with html and css, not php. :0(

Viewing 2 replies - 1 through 2 (of 2 total)
  • function ThumbRSS($content) {
       global $post;
       if ( has_post_thumbnail( $post->ID ) ){
           $content = '<p>' . get_the_post_thumbnail( $post->ID, 'full' ) . '</p>' . $content;
       }
       return $content;
    }
    add_filter('the_excerpt_rss', 'ThumbRSS');
    add_filter('the_content_feed', 'ThumbRSS');

    This will add your any post thumbnails to your rss feed. Drop it into your functions.php.

    Thread Starter peedy

    (@peedy)

    thanks for your help, unfortunately it still doesn’t work on “Cover Wp” theme, but when i switch other theme it works good. :0(

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RSS feed doesn't disply images on my cover wp theme’ is closed to new replies.