Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Odd behavior on thumbnail import

$
0
0

Replies: 0

When I try to set the filed ‘post_thumbnail’ to path of an image that already exists e.g. /wp-content/my/image.png it won’t set the featured image on the imported post. And if I specify the full path of the image e.g. http://mydomain.com/wp-content/my/image.png, it creates multiple copies of the image in the media library, one for each post that has the image attached (there are many). I would like to keep only one copy of the image that already exists in my media library and just have it attached to the posts. How can I do that?


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>