久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數字化技能提升教程 數字化時代生存寶典
首頁
數字化百科
電子書
建站程序
開發(fā)
服務器
辦公軟件
開發(fā)教程
服務器教程
軟件使用教程
運營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導航
程序頻道
推廣頻道
網賺頻道
人物頻道
網站程序
網頁制作
云計算
服務器
CMS
論壇
網店
虛擬主機
cPanel
網址導航
WIKI使用導航
WIKI首頁
最新資訊
網站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網站地圖
站長百科導航
站長百科
主機偵探
IDCtalk云說
跨境電商導航
WordPress啦
站長專題
網站推廣
網站程序
網站賺錢
虛擬主機
cPanel
網址導航專題
云計算
微博營銷
虛擬主機管理系統(tǒng)
開放平臺
WIKI程序與應用
美國十大主機
編輯“
WordPress:Tag Templates
”(章節(jié))
人物百科
|
營銷百科
|
網賺百科
|
站長工具
|
網站程序
|
域名主機
|
互聯(lián)網公司
|
分類索引
跳轉至:
導航
、?
搜索
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個!
=== 顯示圖像鏈接到完整的文章=== Another thing that is interesting to do in a category archive page is to replace the post content with an image that links to your post. To do this, you will first need to put images into the Excerpt sections of your posts. Here's how to do that, for one post: 處理類別歸檔頁面的另一個有趣的操作是使用鏈接到你的文章的圖像代替文章內容。你首先要將圖像放置到你的文章的摘錄部分。下面是怎樣將圖像放到一篇文章的摘錄部分: # Upload an image on the post editing screen. # Switch to the "Code" editor, rather than the "Visual" editor. # Use the Uploads / Browse tab to insert the image into your post. Make sure to insert the full-sized image, with no link. # Copy the inserted HTML <tt>img</tt> tag, and paste it into the "Optional Excerpt" section of the post editing screen. # Finish writing the post content (you can remove the image), and publish the post. #將一個圖像上傳到文章編輯界面。 #切換到"Code"編輯器,而不是"Visual"編輯器。 #使用上傳/瀏覽標簽將圖像插入到你的文章。確定插入了完整大小的圖像,沒有鏈接。 #復制已插入的HTML<tt>img</tt>標簽,并且將標簽粘貼到文章編輯界面的"可選擇的摘錄" 部分。 #結束編寫文章內容(你可以移除圖像),并且發(fā)表文章。 Now you will need to modify your template. We'll use a trick: the [[WordPress:Template Tags/the_excerpt_rss|the_excerpt_rss()]] Template Tag does not put a paragraph tag around the excerpt. So we can use it to insert the <tt>img</tt> HTML and put it inside a link. Here's what you need to put into your Template, in place of using <tt>the_content</tt>: 現(xiàn)在你需要更改你的模板。我們會使用一種方法:[[WordPress:Template Tags/the_excerpt_rss|the_excerpt_rss()]]。模板標簽沒有將段落標簽放置在摘錄周圍。因為我們使用模板標簽插入<tt>img</tt> HTML并且將其放入鏈接內容。下面是我們需要放入模板中,取代<tt>the_content</tt>的內容: <pre> <a href="<?php the_permalink() ?>"> <?php the_excerpt_rss(); ?> </a> </pre> <pre> <a href="<?php the_permalink() ?>"> <?php the_excerpt_rss(); ?> </a> </pre> Caveat: using the excerpt this way '''may''' effect your RSS feed, because it places an img tag in the excerpt, instead of text. So if you are going to do this, you probably want to set your options so that the full posts are put in RSS feeds, rather than excerpts. 告誡:以這種方式處理摘錄'''可能'''影響你的RSS feed,因為將img標簽放入摘錄而不是文本中。因此,如果你準備執(zhí)行這個操作,你可能想要設置你的選項,這樣完整的文章而不是摘錄就會放入RSS feeds。
摘要:
請注意,您對站長百科的所有貢獻都可能被其他貢獻者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請不要提交。
您同時也要向我們保證您所提交的內容是您自己所作,或得自一個不受版權保護或相似自由的來源(參閱
Wordpress-mediawiki:版權
的細節(jié))。
未經許可,請勿提交受版權保護的作品!
取消
編輯幫助
(在新窗口中打開)
取自“
http://kktzf.com.cn/wiki/WordPress:Tag_Templates
”