MySQL Wordpress 存储页面信息的位置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12896261/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 15:12:04  来源:igfitidea点击:

Wordpress where are stored pages info

mysqlwordpress

提问by Wizard

I can't found in which mysql table are stored "Pages" records for example page name. I know that post records are stored in wp_poststable.

我找不到在哪个 mysql 表中存储了“页面”记录,例如页面名称。我知道帖子记录存储在wp_posts表中。

回答by Ajay Patel

WordPress treating page data as post data for DB. So, please check your wp_postsdb have page data also.

WordPress 将页面数据视为 DB 的发布数据。因此,请检查您的wp_posts数据库是否也有页面数据。

回答by softsdev

In wp_posts with post_type=page and extra postdata are stored in wp_postmeta like thumbnail is and other custom fields

在带有 post_type=page 的 wp_posts 中,额外的 postdata 存储在 wp_postmeta 中,如缩略图和其他自定义字段

回答by Ajay Kumar

check your data base table wp_postand field post_contentwhich have longtexttype. check the ping_statusfield should be open.

检查数据基础表wp_post和现场POST_CONTENT具有LONGTEXT类型。检查ping_status字段应该是open

post_contenthave the all data of the particular page and post.

post_content包含特定页面和帖子的所有数据。

回答by admcfajn

The title of a page would be stored in the wp_poststable

页面的标题将存储在wp_posts表中

But if you're looking for the page-template in use by that page you would look in the wp_postmetatable for _wp_page_templatein the meta_keycolumn

但是,如果你在使用寻找的页面模板,通过该页面,你会看在wp_postmeta_wp_page_template中的meta_key