- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by
Tom.
-
AuthorPosts
-
September 21, 2019 at 1:39 am #1015021
supazena
Hi,
For now, I set no featured images (for posts) in general customize settings.
So for all our posts, featured images was add manually into posts.We’ll change your setting to enable “Display featured images”
Result : we will have featured image duplication into each past post.My idea :
– use the disable command present in each post to disable featured image
– then enable featured image in post in general customize setting for futur postsTo make this, use a mysql command to disable featured image into all post, one by one.
My question :
– do you think it’s the best solution to reach my goal ?
– can you help me for this specifique mysql command ?Regards
September 21, 2019 at 9:27 am #1015350Tom
Lead DeveloperLead DeveloperHi there,
Just to confirm, are you looking for a way to bulk-remove the existing featured images you’ve added into your content?
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 25, 2019 at 12:50 am #1018339supazena
Hi Tom,
In fact no, because users added image manually into content (usually the same image as the featured image) an very often between some text paragraph.Do you think it will be possible with a mysql query. It would mean deleting an
tag in the content if the image is the same as the featured image
Actually, theme general settings set with no featured image into blog post thats why users add it manually .
Goal : put this setting enable but then I will have featured image duplicated (one from theme setting + one added manually)September 25, 2019 at 9:57 am #1018836Tom
Lead DeveloperLead DeveloperSo you’re wanting to use the featured image option, but all of your posts have the featured image added directly into the content?
I’m not sure of a mysql way to remove those, unfortunately. I’m not even sure if it would be possible to remove only those images and not all of the images in the content.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 25, 2019 at 10:32 am #1018869supazena
the idea was to make a mysql query to enable the option “disable featured img” present in each post (into layout/disable elements) before enable featured image in global theme setting.
Bad idea ?
September 25, 2019 at 5:24 pm #1019144Tom
Lead DeveloperLead DeveloperSo doing that would disable the featured image on all existing posts, while new posts would use the featured image?
Is that right?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.