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

WordPress:Function Reference/get category link

來自站長百科
Xxf3325討論 | 貢獻(xiàn)2008年6月25日 (三) 11:41的版本 (新頁面: == 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...)
(差異) ←上一版本 | 最后版本 (差異) | 下一版本→ (差異)
跳轉(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 directory

eg: http://yoursite.com/baseurl/archives/category/

Usage

<a href="%%%<?php echo get_category_link($cat);?>%%%">category name</a>

Parameters

Related

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

WordPress:Category:Functions

This article is [[WordPress::Category:Copyedits|marked]] as in need of editing. You can help Codex by editing it.