简体   繁体   中英

I want to display on children categories name of a particular category

I want to display only children categories of a particular category. Suppose I have a category "city" and its children categories are "london" and "new york".

I want to display these children by mentioning parent's name.

Searched codex on wordpress website but not helpful. Please help me. Thanks in advance

This is what you're talking about isn't it? http://codex.wordpress.org/Template_Tags/wp_list_categories pay particular attention to 'child_of' parameter to select (the id) of your parent category.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM