Hi Bidul. Welcome to the Hueman forum. If you change your post format from Standard to Image the featured image will be displayed in the post.
Thread Starter
Bidul
(@bidul)
Thank you for your answer, but how to do it automatically because I am using a plug in (autoblog)
If you’re using the WPMUDEV Autoblog plugin, they have a Post Formats addon. I don’t know if that will fix it or not. You might ask over on their support forum.
Thread Starter
Bidul
(@bidul)
Thank you,
but my plugin has nothing to with autoblog wpmu dev.
It depends on whether the plugin is formatting the post. If it is then you’ll need to modify how the plugin sets the post format. If it isn’t then you may be able to write a query against the database to change the post format.
Thread Starter
Bidul
(@bidul)
Thank you,
and how to write a query on the database
That’s not as easy as it might sound. The basic steps would be:
1. In the wp_terms table, look up the term_id for each post format.
2. In the wp_term_taxonomy table, look up each term_id and get the corresponding term_taxonomy_id.
3. In the wp_posts table get the object_id for each post.
4. In the wp_terms_relationship table, check each post object_id for any of the existing post format term_taxonomy_ids.
– if a record exists for the object_id, change the term_taxonomy_id to the video post term_taxonomy_id.
– if a record doesn’t exist, add a record for the post object_id with the term_taxonomy_id of the video post format.
That would be a bit of a challenge even for someone familiar with SQL. If it’s not done right you could easily corrupt the database. If you’re not familiar with SQL I would recommend either (a) getting someone to help you, or (b) change the posts manually.
Thread Starter
Bidul
(@bidul)
Too complicated for me I surrender myself
Thank you
OK. Hope you can get it fixed. If you don’t need any further assistance here then please mark the topic as Resolved. Thanks.