Trying to create a Categorised Index (archive?) to use as my Home Page
The following code will first iterate and display all the categories with ID 2, 3 and 4. And the second loop will display all the posts within each of the category. <?php $_categories = get_categories( array( ‘orderby’ => ‘order’, ‘order’ => ‘ASC’, ‘include’ => array(2,3,4) // put the category IDs here ) ); // Loop … Read more