久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長(zhǎng)百科 | 數(shù)字化技能提升教程 數(shù)字化時(shí)代生存寶典
首頁(yè)
數(shù)字化百科
電子書(shū)
建站程序
開(kāi)發(fā)
服務(wù)器
辦公軟件
開(kāi)發(fā)教程
服務(wù)器教程
軟件使用教程
運(yùn)營(yíng)教程
熱門(mén)電子書(shū)
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁(yè)制作
云計(jì)算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁(yè)
最新資訊
網(wǎng)站程序
站長(zhǎng)人物
頁(yè)面分類
使用幫助
編輯測(cè)試
創(chuàng)建條目
網(wǎng)站地圖
站長(zhǎng)百科導(dǎo)航
站長(zhǎng)百科
主機(jī)偵探
IDCtalk云說(shuō)
跨境電商導(dǎo)航
WordPress啦
站長(zhǎng)專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢(qián)
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航專題
云計(jì)算
微博營(yíng)銷(xiāo)
虛擬主機(jī)管理系統(tǒng)
開(kāi)放平臺(tái)
WIKI程序與應(yīng)用
美國(guó)十大主機(jī)
編輯“
Theme Development
”(章節(jié))
人物百科
|
營(yíng)銷(xiāo)百科
|
網(wǎng)賺百科
|
站長(zhǎng)工具
|
網(wǎng)站程序
|
域名主機(jī)
|
互聯(lián)網(wǎng)公司
|
分類索引
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:
您沒(méi)有登錄。如果您做出任意編輯,您的IP地址將會(huì)公開(kāi)可見(jiàn)。如果您
登錄
或
創(chuàng)建
一個(gè)賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個(gè)!
===='''基本的模板'''==== At the very minimum, a WordPress Theme consists of two files: 在最小值的時(shí)候, WordPress主題包含有兩個(gè)文件: * <tt>style.css</tt> * <tt>index.php</tt> * <tt>style.css</tt> * <tt>index.php</tt> Both of these files go into the Theme's directory. The <tt>index.php</tt> [[WordPress:Stepping Into Templates|template file]] is very flexible. It can be used to include all references to the header, sidebar, footer, content, categories, archives, search, error, and other web pages generated by the user on your site. Or it can be ''subdivided'' into modular template files, each one taking on part of the workload. 這兩個(gè)文件都?xì)w屬于主題的目錄。<tt>index.php</tt> [[WordPress:Stepping Into Templates|模板文件]]非常地靈活。它可以被用來(lái)包括關(guān)于標(biāo)題,工具條,頁(yè)腳,內(nèi)容,類別,歸檔,搜索,錯(cuò)誤和你的站點(diǎn)上的用戶創(chuàng)建的其它的網(wǎng)頁(yè)的所有參數(shù)?;蛘咚梢员?'再次地分''到模模板文件,每個(gè)部分都具有一部分的工作量。 If you do not provide any other template files, WordPress will use the built-in default files. For example, if you do not have either a <tt>comments.php</tt> or <tt>comments-popup.php</tt> template file, then WordPress will automatically use the <tt>wp-comments.php</tt> and <tt>wp-comments-popup.php</tt> template files using [[WordPress:Template Hierarchy]]. These default templates may not match your Theme very well, so you probably will want to provide your own. The basic files normally used to subdivide (which go into the Theme's directory) are: 如果你沒(méi)有提供其它任何的模板文件,WordPress會(huì)使用內(nèi)置的默認(rèn)文件。例如,如果你既沒(méi)有<tt>comments.php</tt>也沒(méi)有<tt>comments-popup.php</tt>模板文件,WordPress就會(huì)使用[[WordPress:Template Hierarchy|模板層級(jí)]],自動(dòng)地使用<tt>wp-comments.php</tt> 和<tt>wp-comments-popup.php</tt>模板文件。這些默認(rèn)模板可能不太匹配你的主題,因此你可能需要提供你自己的模板。用來(lái)再次地切分的基本的文件(歸屬于主題的目錄)是: * <tt>header.php</tt> * <tt>sidebar.php</tt> * <tt>footer.php</tt> * <tt>comments.php</tt> * <tt>comments-popup.php</tt> * <tt>header.php</tt> * <tt>sidebar.php</tt> * <tt>footer.php</tt> * <tt>comments.php</tt> * <tt>comments-popup.php</tt> Using these modular template files, you can put template tags within the <tt>index.php</tt> master file to include or ''get'' these units where you want them to appear in the final generated web page. 使用這些模的模板文件,你可以將這些模板標(biāo)簽放到<tt>index.php</tt>主要文件中來(lái)包括或者''得到''這些units,你想讓它們出現(xiàn)在最后產(chǎn)生的網(wǎng)頁(yè)的位置。 * To include the header, use the <tt>[[WordPress:Include Tags#The Header Template|get_header()]]</tt> template tag. *要包含標(biāo)題,請(qǐng)使用<tt>[[WordPress:Include Tags#The Header Template|get_header()]]</tt>模板標(biāo)簽。 * To include the sidebar, use the <tt>[[WordPress:Include Tags#The Sidebar Template|get_sidebar()]]</tt> template tag. *要包含工具條,使用<tt>[[WordPress:Include Tags#The Sidebar Template|get_sidebar()]]</tt>模板標(biāo)簽。 * To include the footer, use the <tt>[[WordPress:Include Tags#The Footer Template|get_footer()]]</tt> template tag. *要包含頁(yè)腳,使用<tt>[[WordPress:Include Tags#The Footer Template|get_footer()]]</tt> 模板標(biāo)簽。 Here is an example of the ''include'' usage: 下面是關(guān)于''包含'' 用法的一個(gè)例子: <pre><?php get_sidebar(); ?> <?php get_footer(); ?></pre> <pre><?php get_sidebar(); ?> <?php get_footer(); ?></pre> For more on how these various Templates work and how to generate different information within them, read the [[WordPress:Templates]] documentation. 關(guān)于這些不同模板怎樣運(yùn)行以及怎樣在模板里面產(chǎn)生不同信息的更多內(nèi)容,請(qǐng)閱讀[[WordPress:Templates|模板]]文件。
摘要:
請(qǐng)注意,您對(duì)站長(zhǎng)百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請(qǐng)不要提交。
您同時(shí)也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個(gè)不受版權(quán)保護(hù)或相似自由的來(lái)源(參閱
Wordpress-mediawiki:版權(quán)
的細(xì)節(jié))。
未經(jīng)許可,請(qǐng)勿提交受版權(quán)保護(hù)的作品!
取消
編輯幫助
(在新窗口中打開(kāi))
取自“
http://kktzf.com.cn/wiki/Theme_Development
”