我們在安裝wordpress網(wǎng)站,會發(fā)現(xiàn)根目錄下有很多的文件,這些文件都有什么用呢?今天我給大家來講解一下。
默認(rèn)的WordPress文件夾詳解
wp-admin 是wordpress的后臺文件。
wp-includes 是wordpress的核心文件及一些第三方框架。
wp-content\plugins 是wordpress的插件目錄文件。
wp-content\themes 是wordpress的主題目錄文件。
wp-content\uploads 是wordpress上傳儲存附件的地方。
wp-content\languages 是wordpress的語言包儲存位置。
根目錄下的 wp-config.php 是wordpress的配置文件。
關(guān)于WordPress主題的文件夾詳解
index.php(主體)
header.php(頭部)
footer.php(底部)
sidebar.php(側(cè)邊欄)
404.php(未找到頁面內(nèi)容)
category.php(分類內(nèi)容文件)
author.php(作者內(nèi)容文件)
page.php(頁面內(nèi)容文件)
search.php(搜索內(nèi)容顯示文件)
searchform.php(搜索框文件)
single.php(單頁內(nèi)容文件)
style.css(樣式文件)
functions.php(主題函數(shù)文件)
thumbnail.php (縮略圖支持文件)
tag.php(標(biāo)簽內(nèi)容文件)
archives.php 歸檔





