List posts in categories from wp_list_categories()
//USAGE: //wp_list_categories( array( ‘title_li’ => ”, ‘echo’ => false , ‘walker’ => new PCWalker() ) ) . class PCWalker extends Walker_Category { function end_el(&$output, $page, $depth, $args) { global $wpdb; $output .= “called with: ” . $page->term_id; $posts = $wpdb->get_results(“select … Continue reading