在数据库中文章表数据表为:wp_posts
表字段如下:
ID(文章ID)
post_author(文章作者名,我想可以是为用户名,也可以是用户ID)
post_date(文章发布日期)
post_date_gmt(文章发布日期,格林威治时间)
post_content(文章内容)
post_title(文章标题)
post_exerpt(摘录)
post_status(文章状态,publish/auto-draft/inherit)
comment_status(是否开启评论,默认值为open,打开)
ping_status
post_password(文章密码,如果加密的话,需要输入对应的密码才能打开)
post_name(文章缩略名)
to_ping(ping的链接)
pinged(已经PING过的链接)
post_modified(文章修改时间)
post_modified_gmt(文章修改时间,格林威治时间)
post_content_filter
post_parent(父文章,主要用于page)
guid
menu_order(排序ID)
post_type(文章类型,post或page)
post_mime_type(MIME类型)
comment_count(文章评论总数)

wp_postmeta(文章元数据)
表字段说明:
meta_id(文章元数据自增ID)
post_id(文章ID)
meta_key(元数据键)
meta_value(元数据值)

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
