久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數(shù)字化技能提升教程 數(shù)字化時代生存寶典
首頁
數(shù)字化百科
電子書
建站程序
開發(fā)
服務(wù)器
辦公軟件
開發(fā)教程
服務(wù)器教程
軟件使用教程
運(yùn)營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁制作
云計算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁
最新資訊
網(wǎng)站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網(wǎng)站地圖
站長百科導(dǎo)航
站長百科
主機(jī)偵探
IDCtalk云說
跨境電商導(dǎo)航
WordPress啦
站長專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航專題
云計算
微博營銷
虛擬主機(jī)管理系統(tǒng)
開放平臺
WIKI程序與應(yīng)用
美國十大主機(jī)
編輯“
Theme Development
”(章節(jié))
人物百科
|
營銷百科
|
網(wǎng)賺百科
|
站長工具
|
網(wǎng)站程序
|
域名主機(jī)
|
互聯(lián)網(wǎng)公司
|
分類索引
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個!
===主題樣式表=== In addition to CSS style information for your theme, the stylesheet, <tt>style.css</tt> '''''must''''' provide details about the Theme in the form of comments. '''''No two Themes are allowed to have the same details''''' listed in their comment headers, as this will lead to problems in the [[WordPress:Administration_Panels#Design_-_Change_the_Look_of_your_Blog|Theme selection dialog]]. If you make your own Theme by copying an existing one, make sure you change this information first. 除了提供你的主題的CSS樣式信息外,樣式表,<tt>style.css</tt> '''''必須'''''提供評論形式的主題的詳細(xì)信息。評論標(biāo)題上不能列出'''''兩個主題同樣的詳細(xì)信息''''',因為這會引起[[WordPress:Administration_Panels#Design_-_Change_the_Look_of_your_Blog|主題選擇對話]]的錯誤。如果你通過復(fù)制一個現(xiàn)存的主題來制作你自己的主題,首先要確定你已經(jīng)更改了這個信息。 The following is an example of the first few lines of the stylesheet, called the style sheet header, for the Theme "Rose": 下面是主題的"玫瑰"的樣式表前幾行的例子,稱作樣式表標(biāo)題: <pre>/* Theme Name: Rose Theme URI: the-theme's-homepage Description: a-brief-description Author: your-name Author URI: your-URI Template: use-this-to-define-a-parent-theme--optional Version: a-number--optional . <pre>/* 主題名: 玫瑰 主題 URI: 主題的主頁 描述: 主要的簡述 作者:你的姓名 作者URI: 你的-URI 模板: 使用-這個-來-定義-一個-母-主題—任意的 版本: 一個-數(shù)字—隨意的。 General comments/License Statement if any. 如果有許可的話,一般的評論/許可聲明。 */</pre> */</pre> The simplest Theme includes only a <tt>style.css</tt> file, plus images, if any. To create such a Theme, you must specify a set of templates to ''inherit'' for use with the Theme by editing the <tt>Template:</tt> line in the <tt>style.css</tt> header comments. For example, if you wanted the Theme "Rose" to inherit the templates from another Theme called "test", you would include <tt>Template: test</tt> in the comments at the beginning of Rose's <tt>style.css</tt>. Now "test" is the parent Theme for "Rose", which still consists only of a <tt>style.css</tt> file and the concomitant images, all located in the directory <tt>wp-content/themes/Rose</tt>. ''(Note that specifying a parent Theme will inherit ''all'' of the template files from that Theme — meaning that any template files in the child Theme's directory will be ignored.)'' 如果存在最簡單的主題,這種主題只包括一個<tt>style.css</tt>文件和圖像(如果有圖像)。要創(chuàng)建這樣的一個主題,你必須通過在<tt>style.css</tt>標(biāo)題評論中編輯<tt>Template:</tt>行,來規(guī)定一套模板來''繼承''使用主題。例如,如果你想要"Rose"主題來繼承其它的一個稱作"測試"的主題的模板,你就會將評論中的<tt>Template: test</tt>放入Rose的tt>style.css</tt>開端?,F(xiàn)在"test" 是"Rose"的母主題,只包含有一個<tt>style.css</tt>文件和一個相關(guān)的圖像,都在<tt>wp-content/themes/Rose</tt>目錄中。''(注規(guī)定一個母主題會從主題&mdash中繼承''所有的''主題文件;意思是子主題目錄中的任何模板文件都會被忽視。)'' The comment header lines in <tt>style.css</tt> are required for WordPress to be able to identify a Theme and display it in the [[WordPress:Administration_Panels|Administration Panel]] under [[WordPress:Administration_Panels#Design_-_Change_the_Look_of_your_Blog|Design]] > [[WordPress:Administration_Panels#Themes|Themes]] as an available Theme option along with any other installed Themes. <tt>style.css</tt>中的評論標(biāo)題行要求WordPress能夠辨別一個主題并且將主題顯示在[[WordPress:Administration_Panels#Design_-_Change_the_Look_of_your_Blog|設(shè)計]] > [[WordPress:Administration_Panels#Themes|主題]]下的[[WordPress:Administration_Panels|管理面板]]與其它安裝好的主題一起,作為可選擇的主題。 '''Note''' : ''When defining the parent Theme, in the <tt>Template:</tt> section of the comment header, you must use the name of the directory of the style. For example, to use as parent template the Default Wordpress Theme, don't write <tt>Template: WordPress Default</tt>, but <tt>Template: default</tt>, because default is the directory of this Theme.'' '''注''' : ''當(dāng)在評論標(biāo)題的<tt>Template:</tt>部分定義一個母主題的時候,你必須使用那個樣式的目錄名。例如,將默認(rèn)的WordPress主題用作母主題,不要寫成<tt>模板: WordPress 默認(rèn)</tt>,要寫成<tt>模板: 默認(rèn)</tt>,因為默認(rèn)是這個主題的目錄。''
摘要:
請注意,您對站長百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請不要提交。
您同時也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個不受版權(quán)保護(hù)或相似自由的來源(參閱
Wordpress-mediawiki:版權(quán)
的細(xì)節(jié))。
未經(jīng)許可,請勿提交受版權(quán)保護(hù)的作品!
取消
編輯幫助
(在新窗口中打開)
取自“
http://kktzf.com.cn/wiki/Theme_Development
”