I have a Wordpress site I inherited where all blog posts currently do not use the Featured Image function in Wordpress (latest) but instead the post starts with an image.
I'm hoping to do a few things, but I don't understand the Featured Image architecture well enough to understand what is going on here.
So I have the exported XML which I assume to be the best place to try and make a modification.
And i see each <item> being a post.
And each item includes the key for content:
<content:encoded><![CDATA[<img class="aligncenter size-full wp-image-7380" alt="widish-gifts-to-melt-away-stress" src="/wp-content/uploads/2014/12/widish-gifts-to-melt-away-stress.jpg" width="634" height="467" />
Is there a way to:
1. Strip out this image at the start of posts
2. Insert it as an associated Featured Image for the same item (post)
3. Save the revised XML
When I look at an item in the XML that does contain a featured image, the only difference I see is a thumbnail key, but if it is pulling an asset ID from that field, we may be stuck.
Any suggestions? Does anyone understand how this could work?