Sometimes you need to dynamically add a featured image to a post or a custom post type from another server than the one your WordPress install is running. And you’re facing a common issue: how to do it? Of course in this case, you need to grab the featured image from the second server, download it to your own server, in the upload folder, and assign it to the correct post. In the first step we are
![How to Add a Featured Image from a URL in WordPress](https://cdn-ak-scissors.b.st-hatena.com/image/square/cff1f536d6a113e115a73467d8fbe4dba255bf9c/height=288;version=1;width=512/https%3A%2F%2Fwww.wpexplorer.com%2Fwp-content%2Fuploads%2Fadd-featured-image-from-url.jpg)