Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter Nasah

    (@nasah)

    Well I downloaded version 3.5 from here, and it throws the mentioned error. Here is the link to the feed: https://selgolb.cphadsdemo.dk/feed/

    Regards

    Thread Starter Nasah

    (@nasah)

    Hi again, I haven’t been able to test the new version as I get an error.

    Warning: Cannot modify header information – headers already sent in wp-includes/pluggable.php on line 896

    Thread Starter Nasah

    (@nasah)

    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

    Thread Starter Nasah

    (@nasah)

    Hi Bob, thx for the quick reply. I would like to test it, so sending you an email straight away ??

Viewing 4 replies - 16 through 19 (of 19 total)