久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數(shù)字化技能提升教程 數(shù)字化時代生存寶典
首頁
數(shù)字化百科
電子書
建站程序
開發(fā)
服務(wù)器
辦公軟件
開發(fā)教程
服務(wù)器教程
軟件使用教程
運營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁制作
云計算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁
最新資訊
網(wǎng)站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網(wǎng)站地圖
站長百科導(dǎo)航
站長百科
主機偵探
IDCtalk云說
跨境電商導(dǎo)航
WordPress啦
站長專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢
虛擬主機
cPanel
網(wǎng)址導(dǎo)航專題
云計算
微博營銷
虛擬主機管理系統(tǒng)
開放平臺
WIKI程序與應(yīng)用
美國十大主機
編輯“
WordPress:Separating Categories
”
人物百科
|
營銷百科
|
網(wǎng)賺百科
|
站長工具
|
網(wǎng)站程序
|
域名主機
|
互聯(lián)網(wǎng)公司
|
分類索引
Seadragon530
(
討論
|
貢獻(xiàn)
)
2008年4月15日 (二) 11:08的版本
(
差異
)
←上一版本
|
最后版本
(
差異
) |
下一版本→
(
差異
)
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:您正在編輯的是本頁面的舊版本。
如果您發(fā)布該更改,該版本后的所有更改都會丟失。
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個!
__TOC__ Your posts are filed in different categories. Category information is freqently displayed in the [[WordPress:Post_Meta_Data_Section|post meta data section]] near your post or under the [[WordPress:Designing Headings|heading title]]. Different [[WordPress:Using Themes|WordPress Themes]] highlight the post meta data section in different areas. 你的文章是用不同分類存檔的。分類信息通常顯示在文章附近的[[WordPress:Post_Meta_Data_Section|文章 meta 數(shù)據(jù)部分]]或者是在[[WordPress:Designing Headings|頭部標(biāo)題]]下面。不同的[[WordPress:Using Themes|WordPress 主題]]會在不同的區(qū)域高亮顯示文章meta信息部分。 The display of the post categories is generated through the use of the <tt>[[WordPress:Template_Tags/the_category|the_category()]]</tt> template tag. And you have the ability to style how these categories are displayed. 文章分類的顯示是通過<tt>[[WordPress:Template_Tags/the_category|the_category()]]</tt>模板標(biāo)簽的使用來生成的。你可以設(shè)計這些分類如何顯示。 ==Finding Your Categories Tag== The placement of your categories tag may be in one place on the front page and in one or more different places in your single post page, so you may have to do some hunting to find your various categories tags. You might also want to style one differently from the others, but you still have to find them. ==找出分類標(biāo)簽== 你的分類標(biāo)簽可能放在首頁面,也可能放在一個或多個單獨文章頁面的不同地方,這樣你可能不得不費點力氣來尋找你不同的分類標(biāo)簽了。你可能還想設(shè)計一個與眾不同的標(biāo)簽,但首先要把它們找出來。 The '''post meta data''' featuring your categories tag in your Theme is usually found on the <tt>index.php</tt>, <tt>single.php</tt>, or sometimes in the <tt>sidebar.php</tt> [[WordPress:Templates|template files]]. Open one or more of these template files and search for: <pre><?php the_category() ?></pre> 在整個主題中,帶有你的分類標(biāo)簽的'''文章 meta 數(shù)據(jù)''',通常可以在<tt>index.php</tt>, <tt>single.php</tt>,或者有時在<tt>sidebar.php</tt> [[WordPress:Templates|模板文件]]中可以找到。打開一個或者多個模板文件并搜索: <pre><?php the_category() ?></pre> Once you have found it, take another look at a generated web page of your site and determine how exactly you might want to change this information. 一旦找到之后,再看看網(wǎng)頁,然后決定如何更改這些信息。 The <tt>[[WordPress:Template_Tags/the_category|the_category()]]</tt> template tag instructs the database to get the information regarding the post categories and display it at that point in your [[WordPress:Templates|template file]]. By default, it displays the list of categories with a space between each one. You can change this by adding the parameter inside of the tag. Let's begin with simple separators by playing with the category names: ''WordPress'', ''Computers'', and ''Internet News''. <tt>[[WordPress:Template_Tags/the_category|the_category()]]</tt>模板標(biāo)簽指導(dǎo)數(shù)據(jù)庫獲得關(guān)于文章分類的信息,并且在[[WordPress:Templates|模板文件中]]顯示出來。默認(rèn)情況下,它顯示分類的列表,每兩個分類中間有空格隔開。你可以通過添加標(biāo)簽內(nèi)部的參數(shù)更改它們。讓我們通過分類名:''WordPress'', ''Computers'', and ''Internet News'',從簡單的分隔器開始。 ==Simple Separators== If you would like to have commas between the categories, the tag should read: <pre><?php the_category(',') ?></pre> ==簡單的分隔器== 如果你想在分類中間加上逗號,標(biāo)簽內(nèi)容如下: <pre><?php the_category(',') ?></pre> And it would look like this: <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress, Computers, Internet News</div> 顯示結(jié)果如下: <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress, Computers, Internet News</div> If you would like to have an arrow, the tag would look like this: <pre><?php the_category(' > ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress > Computers > Internet News</div> 如果你還想要有一個箭頭,標(biāo)簽內(nèi)容如下 <pre><?php the_category(' > ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress > Computers > Internet News</div> If you would like to have a [[WordPress:Fun_Character_Entities|bullet]], the tag would look like this: <pre><?php the_category(' &bull; ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress • Computers • Internet News</div> 如果你想有一個[[WordPress:Fun_Character_Entities|bullet]]符號,標(biāo)簽內(nèi)容如下: <pre><?php the_category(' &bull; ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress • Computers • Internet News</div> If you would like the "pipe" ( | ) between the categories, the tag would look like this: <pre><?php the_category(' | ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress | Computers | Internet News</div> 如果你想要在分類中間加入"pipe" ( | )符號,這個標(biāo)簽內(nèi)容如下: <pre><?php the_category(' | ') ?></pre> <div style="font-size: 105%; color: blue; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">WordPress | Computers | Internet News</div> ==Adding Text to Your Categories== Would you like to make your post meta data look a little more ''textual'', informal and part of a paragraph rather than a list. You can add an '''"and"''' to go between the categories like this: <pre><p>You can read related subjects in the <?php the_category(' and ') ?> categories.</p></pre> <div style="font-size: 105%; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">You can read related subjects in the <span style="color:blue">WordPress</span> and <span style="color:blue">Computers</span> and <span style="color:blue">Internet News</span> categories.</div> ==向分類中添加文本== 你想讓你的文章meta數(shù)據(jù)看起來更象''文字'',非正式并且象是一段文章而不是列表嗎?你可以在分類中間加入'''"and"''',如下: <pre><p>You can read related subjects in the <?php the_category(' and ') ?> categories.</p></pre> <div style="font-size: 105%; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">You can read related subjects in the <span style="color:blue">WordPress</span> and <span style="color:blue">Computers</span> and <span style="color:blue">Internet News</span> categories.</div> Or you can give them more of a choice and change the '''"and"''' to an '''"or"''': <div style="font-size: 105%; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">You can read related subjects in the <span style="color:blue">WordPress</span> or <span style="color:blue">Computers</span> or <span style="color:blue">Internet News</span> categories.</div> 或者你可以給它們更多的選擇,把'''"and"''' 改成'''"or"''': <div style="font-size: 105%; font-weight:bold; margin:20px; padding: 20px; border:solid 1px blue">You can read related subjects in the <span style="color:blue">WordPress</span> or <span style="color:blue">Computers</span> or <span style="color:blue">Internet News</span> categories.</div> The possibilities are endless. Have fun and use your imagination! 可能性是無限的。運用你的想象力,玩的開心!
摘要:
請注意,您對站長百科的所有貢獻(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/WordPress:Separating_Categories
”