WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to display this all categories and description in home page and for each category the division will be like this:

Category name Category Description Link to particular Categories post.

Help me that how to list out my categories name & in description how to add the tag in wordpress?

share|improve this question
What have you tried so far, what code have you written so far, where are you going wrong, what error does your code give you. Please edit your question and add all relevant code, effort and research. As your question currently stands, it is a do-my-work-for-me type of question, which WPSE is not – Pieter Goosen May 6 '14 at 6:35

Use wp_list_categories

Here's all the parameters

<?php $args = array(
'show_option_all'    => '',
'orderby'            => 'name',
'order'              => 'ASC',
'style'              => 'list',
'show_count'         => 0,
'hide_empty'         => 1,
'use_desc_for_title' => 1,
'child_of'           => 0,
'feed'               => '',
'feed_type'          => '',
'feed_image'         => '',
'exclude'            => '',
'exclude_tree'       => '',
'include'            => '',
'hierarchical'       => 1,
'title_li'           => __( 'Categories' ),
'show_option_none'   => __( 'No categories' ),
'number'             => null,
'echo'               => 1,
'depth'              => 0,
'current_category'   => 0,
'pad_counts'         => 0,
'taxonomy'           => 'category',
'walker'             => null
); ?>
share|improve this answer
Thank you. but do you know about the how to add the html tag in category description field?? – daxter May 6 '14 at 6:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.