I have 70 posts I would like to add a feature image for. I have loaded all of the feature images to the media library. Can I ‘make it the feature image’ from the media library, or do I have to go into every post to select ‘set a feature image’ and then get it from the media library??
Thankyou.
Leave a Reply
You must be logged in to post a comment.
Here is an option though I’m not sure it will work as your expecting.
It works like this:
You need to upload the images you’ll be using so they are in the media library. Once the images have been uploaded, navigate to the media library and look for the link that says unattached.
–
Find the image you want to use and click on the attach to post link as shown here:
Type the post name or a word in the post title and click search.
Once you’ve found the post you want to attach the image to click on the radio button and then the select button to attach it to the post:
Now you have attached the image to a specific post but you still need some code to make it show up in the post. In the code below I’ve used an additional loop to display the first image attached in a post (this is why I said I’m not sure if it will work for you, if it doesn’t work, there are a few things you can change).
Here is an example I used in an old theme I had laying around. The first loop displays the post text and the second displays the image you attached earlier: