久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress: Function Reference/get category link:修訂間差異

來自站長百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索
(新頁面: == Description == Returns the correct url for a given Category ID. This is a category id of blog posts, not links. Using a nonexistent Category ID will return a link to the parent direc...)
?
?
(未顯示2個用戶的6個中間版本)
第1行: 第1行:
== Description ==
== 描述 ==
Returns the correct url for a given Category ID.


This is a category id of blog posts, not links.
為一個特定的類別ID返回正確的url。


Using a nonexistent Category ID will return a link to the parent directory
這是博客文章的一個類別id,而不是鏈接。


eg: http://yoursite.com/baseurl/archives/category/
使用不存在的ID會返回一個鏈接,鏈接到母目錄


== Usage ==
例子: http://yoursite.com/baseurl/archives/category/
<code><a href="</code>%%%<?php echo get_category_link($cat);?>%%%<code>">category name</a></code>


== Parameters ==
== 用法 ==
{{Parameter|$category_id|integer|The category ID whose link will be retrieved.}}


== Related ==
<code><a href="</code>%%%<?php echo get_category_link($cat);?>%%%<code>">類別 名</a></code>


== 參數(shù) ==
{{Parameter|$category_id|integer|鏈接能夠重新找回的類別ID。}}
== 相關(guān)的 ==
{{Tag Category Tags}}
{{Tag Category Tags}}


{{PHP Function Tag Footer}}
{{PHP Function Tag Footer}}
[[WordPress:Category:Functions]]
{{Copyedit}}

2008年9月27日 (六) 15:04的最新版本

描述[ ]

為一個特定的類別ID返回正確的url。

這是博客文章的一個類別id,而不是鏈接。

使用不存在的ID會返回一個鏈接,鏈接到母目錄

例子: http://yoursite.com/baseurl/archives/category/

用法[ ]

<a href="%%%<?php echo get_category_link($cat);?>%%%">類別 名</a>

參數(shù)[ ]

相關(guān)的[ ]

the_category, the_category_rss, single_cat_title, category_description, wp_dropdown_categories, wp_list_categories, in_category, get_category_parents, get_the_category get_category_link,

模板:PHP Function Tag Footer