2

I am new to Wordpress. I need to create a new post from the Rest API which has its featured image from an external link. I can successfully create a new post using the rest API plugin, how do I add featured images from an external link??

  • 2
    There's no built-in way to do that. What have you tried so far to achieve this? – swissspidy Mar 26 '18 at 8:57
  • @swissspidy I have tried to create a meta field with my post parameters. I was hoping wordpress will automatically link the meta field to the featured_image value. I have added the meta tag to my request this way. "meta":{"featured_image_thumbnail":"http:\/\/www.autosportfoto.sk\/images\/art\/13348-breen-corse-black-2017-888-896x504-1.jpg","featured_image_full":"http:\/\/www.autosportfoto.sk\/images\/art\/big\/13348-breen-corse-black-2017-888-896x504-1.jpg"}. Please help – Ogundele Adekunle Mar 26 '18 at 9:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.