Well get_headers() throws an error on some server enviroments (those with PHP Allow URL fopen set to OFF). But seems to only be a restriction in my test enviroment and not a problem on the production enviroment. So outcommented lines 115-116 to stop the error thrown on line 271. But let’s get past that ??
I was looking into the get_feed_image function, if it would be possible to add a statement in the lines of:
——————————————————————-
if (!$rif_thumb) :
if ( has_post_thumbnail( $post->ID ) ){
$img_container = '' . get_the_post_thumbnail( $post->ID, 'rss-thumbnail', array( 'style' => 'margin:0; border: 10px solid #202020' ) ) . '' . $img_container;
}
endif;
return $img_container;
——————————————————————
The above is not correct I know, but just an example to show my line of thought. Still working on my WP skills ??
And thx by the way for the quick reply.
Kind regards