WordPress數(shù)據(jù)庫表及字段詳解
【W(wǎng)ordPress數(shù)據(jù)表介紹】
1. wp_commentmeta:僅存儲Akismet或手工審核的評論是否為垃圾評論的判斷結(jié)果;
2. wp_comments:存儲評論信息,如評論內(nèi)容、評論所屬文章、評論人昵稱、郵箱、URL等;
3. wp_links:存儲友情鏈接信息,如友鏈名稱、URL、打開方式、描述、是否可見等;
4. wp_options:存儲在WordPress系統(tǒng)默認(rèn)及后臺中用戶設(shè)置的系統(tǒng)選項(xiàng)、插件及主題配置信息,如用戶設(shè)置的博客名博客描述是什么、用的什么主題、主題里用了什么功能、是否開放注冊、是否用了固定鏈接及其形式是什么等等;
5. wp_postmeta:存儲文章的一些相關(guān)信息,如文章縮略圖地址、縮略圖長寬高和alt信息、文章所在分類的URL、文章自定義的Description和
Keywords、文章訪問次數(shù)等;
6. wp_posts:存儲文章信息,如文章標(biāo)題、正文、摘要、作者、發(fā)布時(shí)間、訪問密碼、評論數(shù)、修改時(shí)間、文章地址(非靜態(tài)化之前的,帶?和數(shù)字ID)等;
7. wp_terms:存儲菜單分類、標(biāo)簽分類名稱及URL信息;
8. wp_term_relationships:存儲文章和分類、標(biāo)簽的相互對應(yīng)關(guān)系;
9. wp_term_taxonomy:存儲分類和標(biāo)簽的描述信息、父子關(guān)系、所屬包含的文章數(shù)等;
10. wp_usermeta:存儲用戶的姓名、昵稱、權(quán)限等信息;
11. wp_users:存儲用戶名、密碼、昵稱、郵箱、注冊時(shí)間等信息;
【W(wǎng)ordPress數(shù)據(jù)表字段介紹】(網(wǎng)上抄的,需要注意的是WordPress不同版本間數(shù)據(jù)表字段可能不同)
wp_commentmeta
- meta_id:自增唯一ID
- comment_id:對應(yīng)評論ID
- meta_key:鍵名
- meta_value:鍵值
- comment_ID:自增唯一ID
- comment_post_ID:對應(yīng)文章ID
- comment_author:評論者
- comment_author_email:評論者郵箱
- comment_author_url:評論者網(wǎng)址
- comment_author_IP:評論者IP
- comment_date:評論時(shí)間
- comment_date_gmt:評論時(shí)間(GMT+0時(shí)間)
- comment_content:評論正文
- comment_karma:未知
- comment_approved:評論是否被批準(zhǔn)
- comment_agent:評論者的USER AGENT
- comment_type:評論類型(pingback/普通)
- comment_parent:父評論ID
- user_id:評論者用戶ID(不一定存在)
- link_id:自增唯一ID
- link_url:鏈接URL
- link_name:鏈接標(biāo)題
- link_image:鏈接圖片
- link_target:鏈接打開方式
- link_description:鏈接描述
- link_visible:是否可見(Y/N)
- link_owner:添加者用戶ID
- link_rating:評分等級
- link_updated:未知
- link_rel:XFN關(guān)系
- link_notes:XFN注釋
- link_rss:鏈接RSS地址
- option_id:自增唯一ID
- blog_id:博客ID,用于多用戶博客,默認(rèn)0
- option_name:鍵名
- option_value:鍵值
- autoload:在WordPress載入時(shí)自動載入(yes/no)
- meta_id:自增唯一ID
- post_id:對應(yīng)文章ID
- meta_key:鍵名
- meta_value:鍵值
- ID:自增唯一ID
- post_author:對應(yīng)作者ID
- post_date:發(fā)布時(shí)間
- post_date_gmt:發(fā)布時(shí)間(GMT+0時(shí)間)
- post_content:正文
- post_title:標(biāo)題
- post_excerpt:摘錄
- post_status:文章狀態(tài)(publish/auto-draft/inherit等)
- comment_status:評論狀態(tài)(open/closed)
- ping_status:PING狀態(tài)(open/closed)
- post_password:文章密碼
- post_name:文章縮略名
- to_ping:未知
- pinged:已經(jīng)PING過的鏈接
- post_modified:修改時(shí)間
- post_modified_gmt:修改時(shí)間(GMT+0時(shí)間)
- post_content_filtered:未知
- post_parent:父文章,主要用于PAGE
- guid:未知
- menu_order:排序ID
- post_type:文章類型(post/page等)
- post_mime_type:MIME類型
- comment_count:評論總數(shù)
- term_id:分類ID
- name:分類名
- slug:縮略名
- term_group:未知
- object_id:對應(yīng)文章ID/鏈接ID
- term_taxonomy_id:對應(yīng)分類方法ID
- term_order:排序
- term_taxonomy_id:分類方法ID
- term_id:
- taxonomy:分類方法(category/post_tag)
- description:未知
- parent:所屬父分類方法ID
- count:文章數(shù)統(tǒng)計(jì)
- umeta_id:自增唯一ID
- user_id:對應(yīng)用戶ID
- meta_key:鍵名
- meta_value:鍵值
- ID:自增唯一ID
- user_login:登錄名
- user_pass:密碼
- user_nicename:昵稱
- user_email:Email
- user_url:網(wǎng)址
- user_registered:注冊時(shí)間
- user_activation_key:激活碼
- user_status:用戶狀態(tài)
- display_name:顯示名稱
聲明:本站所有文章資源內(nèi)容,如無特殊說明或標(biāo)注,均為采集網(wǎng)絡(luò)資源。如若本站內(nèi)容侵犯了原著者的合法權(quán)益,可聯(lián)系本站刪除。
