Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1310909
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 years ago.
Improve this questionI have conent located in a custom field named main_content in wp_postmeta and need to copy that content to post_content in wp_posts. There are about 400 posts and have no sql background but should be pretty easy I think, just not sure on the right code?
SELECT * FROM `wp_postmeta` WHERE `post_id` IS main_content AND INSERT INTO wp_posts WHERE `post_id` IS `post_content`
Something like above but not sure if that is correct
本文标签: Needing to move content from postmeta to posts in sql
版权声明:本文标题:Needing to move content from postmeta to posts in sql 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741865846a2401895.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论