if(is_category){
!* I want to get all child categories ID
so how ?
}
thanks
if(is_category){
!* I want to get all child categories ID
so how ?
}
thanks
<?php
if ( is_category() ) {
$child_cats = get_categories('child_of='.get_query_var('cat'));
}
?>
Thanks
You must log in to post.