How show wordpres categories?
February 4th, 2009 — adminMethod a:
wp_list_categories().
Usage
 <?php wp_list_cats(‘arguments’); ?>Â
Examples
Default Usage
By default, the tag:
optionall – Does not display a link to all Categories
all – Text to display for link to all Categories
sort_column – Sorts by Category ID
sort_order – Sorts in ascending order
file – Displays the Categories using the index.php template
list – Sets the Categories in an unordered list (<ul><li>)
optioncount – Does not display the count of posts within each Category
hide_empty – Does not display links to Categories which have no posts
use_desc_for_title – Uses the Category description as the link title
children – Shows the children (sub-Categories) of every Category listed
hierarchical – Displays the children Categories in a hierarchical order under its Category parent Continue reading “How show wordpres categories?”