Click to See Complete Forum and Search --> : Adding feature image to a post [Wordpress coding]


Viste
03-05-2011, 08:12 AM
Hi all,

I am not so sure this is the right place to post this, but I have seen similar threads here... This is not through admin but via scripting/coding.

I am creating a plugin that will create posts from external data. I have managed to insert posts and post meta, etc, but I haven't yet found out how to add a feature image to the post. I know how the images are saved through the wordpress insert functions but setting posts feature images is what I don't know how.

Does anyone know the functions for this task? I can't find it in Wordpress reference.

Thanks.

Viste
03-10-2011, 03:33 PM
I guess no one knows how to do this.

Please help

Paula78
08-15-2011, 06:55 AM
Hi!! can anyone write what belongs in a functionality plugin:confused:Thanks