I need a php function created that will insert a post and featured image into a Wordpress site. Please read the requirements carefully before bidding.
* wordpress url
* post title
* post content
* post tags
* post categories
* post author
* post type
* url of an image (this will be the URL of an image on a remote server)
Function operations. Things the function will do:
* create a post in wordpress with the input provided
* retrieve the image file from the image url
* upload the image to wordpress
* set the image to be the "featured image" for the post in wordpress
Wordpress already includes a function called wp_insert_post, so most of this project is easy using that function. However the key part of this project is uploading an image and setting the image as the featured image associated with the post that was just created.
Đã trao cho:
6 freelancer đang chào giá trung bình $172 cho công việc này
=====Expertness and honesty our goal . we are small team working good quality and accuracy. looking forward to check pm message for details offer. Thank you===========
easy job, I did this function to make autoblogs and upload pictures to wallpapers sites automatically, I can do this for you and give you a customization for your requirements. Best regards. Dracco.