'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'cat' => $catID ); $tabs_query = new WP_Query( $args ); $rand = wp_generate_password( 20, false, false ); $tabID = 'mb_tabs_' . $rand; ob_start(); if( $tabs_query->have_posts() ): ?>
have_posts() ): $tabs_query->the_post(); ?>