Support » Plugin: Featured Images in RSS for Mailchimp & Other Email » Remove default small image

  • Resolved Henry


    I like this plugin and I do some enhance about remove wordpress default small image. Hope you like this enhance.

    Add follow lines in function featured_images_in_rss($content)

    // remove default small image
    $pattern = '/<div><img width="150"+.+div>/';
    $replace = "";
    $content = preg_replace($pattern, $replace, $content);

Viewing 1 replies (of 1 total)
  • Is that because your theme is outputting a default 150 image? It would be different based on the specific theme you’re using, I think.

    I appreciate your feedback.


Viewing 1 replies (of 1 total)
  • The topic ‘Remove default small image’ is closed to new replies.