[英]Wordpress - After manually updating mysql table in phpmyadmin for wordpress, the live post reflects the changes, but the post editor does not
Every year we update our posts with new data. 每年我们都会用新数据更新帖子。 For example, the best places to live in 2018.
例如,2018年最佳居住地。
I am trying to write a python script this year that updates the post_content in mysql so we don't have to do a bunch of copying and pasting into the html post editor. 我今年尝试编写一个python脚本来更新mysql中的post_content,因此我们不必进行大量复制和粘贴到html帖子编辑器中。
However, as a test, I manually updated wp_post in phpmyadmin for one article. 但是,作为测试,我手动更新了phpmyadmin中的wp_post一篇文章。 After updating, the following happens:
更新后,将发生以下情况:
I am completely out of ideas. 我完全没有主意。 I've been googling for hours and no one seems to have this problem.
我已经搜寻了几个小时,似乎没有人遇到这个问题。
More background on my setup: 我的设置的更多背景信息:
Here's a link to the working page: https://www.homesnacks.net/best-places-to-live-in-georgia-122131/ 这是工作页面的链接: https : //www.homesnacks.net/best-places-to-live-in-georgia-122131/
Ended up hooking into the wordpress API: https://developer.wordpress.org/rest-api/ 最终迷上了wordpress API: https : //developer.wordpress.org/rest-api/
And these tutorials helped 这些教程帮助了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.