Support » Plugin: WPeMatico » Make WPeMatico Insert Featured Image Into Post

  • Resolved nurihodges


    I needed WPeMatico to also insert the first image downloaded and attached from any RSS feed item the featured image for the post it is inserting. It’s simple to make modifications to do so:

    After Line 591 insert:

    return $attach_id;

    Replace Line 525 with:

    $attachid = $this->insertfileasattach($imagen_src,$postid);
    if($custom_imagecount == 0) {
    	$this->insertPostMeta($postid, '_thumbnail_id', $attachid);

    Replace Line 509 with:

    $custom_imagecount = 0;

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi – that’s exactly what I want! I’ve tried opening WPeMatico source files in a code editor but can’t work out which file it is you changed. Hope you can help.

    I just updated accidentally, so I have to re-do this change tomorrow. I will update you when I figure out which file it’s in. 🙂

    Terrific, thanks. I’d love to get it working properly.



    Please let me know how to get this work.
    Thanks you very much.



    Hi nurihodges,

    Did you maybe found out which files have to be updated?




    I’m waiting for upload

    With respect



    Anyhow try adding “automatic post thumbnail” plugin, this should do the trick.

    Plugin Author etruel


    I’m including this feature at new version. thanks to all.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Make WPeMatico Insert Featured Image Into Post’ is closed to new replies.