Code to query posts from all child categories of a parent category
Description
This code will query posts from all child categories of a parent category. For Example If the Parent is Features and Features has many Children then this code will show all posts from each of those categories. This code was used on the hompage of Wusasa

PHP Source Code
<!------Child of Parent Category query Starts------->
<?php $args = array(
'category_name' => 'features',
'post_status' => 'publish',
'posts_per_page' => -1
);
$postLoop = new WP_Query($args);
?>
<?php if ($postLoop->have_posts()) : ?>
<?php while ($postLoop->have_posts()) : $postLoop->the_post(); ?>
<!--Post attributes Start-->
<!---------the code goes in here------------->
<!--Post attributes End-->
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php else : ?>
<p><?php __('No Posts found...'); ?></p>
<?php endif; ?>
<!------Child of Parent Category query Ends------->