featured_image in post published via API only showing after pressing “Update”
-
I have migrated a working code for posting via the REST API from one wordpress page (“Page 1”) to another wordpress page (“Page 2”).
On Page 1, everything works. Theme is “AstraVersion: 4.6.13 by?Brainstorm Force“
On Page 2, everything works EXCEPT this; the featured image is not showing in the new post. However, all it takes to make it show is to go to the post editor and press “Update,” nothing else, i.e., the image is already added to the post as the featured image, but for some reason not showing in the post before the “Update” button is pressed manually.
ChatGPT suggests that some kind of hook is required by the theme that is only activated through manually pressing of the “Update” button.
Theme on Page 2 is “Dante Version: 3.5.25 by?Swift Ideas.” I cannot test changing the theme as this breaks the page (critical error).
I have tried to log hooks when pressing update, but I am not a programmer and I have not been able to find any hooks.
I have tried disabling and enabling relevant plugins with no difference.
Any suggestion will be highly appreciated, as I have run out of things to try.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.