WIKI使用導(dǎo)航
站長百科導(dǎo)航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計(jì)算
- 微博營銷
- 虛擬主機(jī)管理系統(tǒng)
- 開放平臺(tái)
- WIKI程序與應(yīng)用
- 美國十大主機(jī)
WordPress: Function Reference/get category link:修訂間差異
來自站長百科
(新頁面: == 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...) |
(沒有差異)
|
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 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,
This article is [[WordPress::Category:Copyedits|marked]] as in need of editing. You can help Codex by editing it.