How to display in WordPress Category, Category post, Subcategory, Subcategory post? First you need to click on image and check how will result show on your page. And is this useful to you simple Copy and paste this code on your index page or where ever you want to show. Only you need to change the categories id in the array Hope this will help you <?php $row = 0; // Here you can pass the id of your category which you want to show $arrayid = array('0'=>9,'1'=>10,'2'=>7,'3'=>8,'4'=>11,'5'=>12); foreach($arrayid as $aid) { ...