List Filter
// Add Shortcode function filtered_list() { <ul> <?php wp_list_categories( array( 'orderby' => 'name', 'show_count' => true, //adds count of posts per category 'include' => array( 115, 106, 92, 96, 97, 116, 114, 111, 104, 117 ) //only includes category with ID 10 ‘exclude’ =>array(120, 109) ) ); ?> </ul> } add_shortcode( 'filtered list', 'filtered_list' );