Title: Children Check?
Last modified: August 18, 2016

---

# Children Check?

 *  [markgarrigan](https://wordpress.org/support/users/markgarrigan/)
 * (@markgarrigan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/children-check/)
 * Is there a way to check if the current category has any children?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [markgarrigan](https://wordpress.org/support/users/markgarrigan/)
 * (@markgarrigan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/children-check/#post-212172)
 * This seems easy enough… i just need a query to check for all the categories with
   a parent of the current category… but how do you write custom queries?
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/children-check/#post-212195)
 * Are you trying to show children or just find out if there are any there?
 * To find out if any are there, check your ADMIN > MANAGE > CATEGORIES (I know 
   that sounds too simple, but sometimes people just don’t know these things – making
   no assumptions about you.)
 * To show the categories with the children (ONLY if there are posts in the category
   will they show), check out:
 * [http://codex.wordpress.org/Template_Tags/wp_list_cats](http://codex.wordpress.org/Template_Tags/wp_list_cats)
   
   [http://codex.wordpress.org/Template_Tags/list_cats](http://codex.wordpress.org/Template_Tags/list_cats)
 * If you are looking for a specific “If categories” conditional tag:
 * [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Children Check?’ is closed to new replies.

## Tags

 * [children](https://wordpress.org/support/topic-tag/children/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Lorelle](https://wordpress.org/support/users/lorelle/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/children-check/#post-212195)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
