Support » Plugin: Featured Images in RSS & Mailchimp 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)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove default small image’ is closed to new replies.