Listing Category ‘child_of’ by slug rather than ID

You can get ID from slug quite easily:

$category = get_category_by_slug( 'clients' );
wp_list_categories('child_of=".$category->term_id);

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)