ID )[0]->term_id; $args = array( 'cat' => $auto_mechanic_cat_content_id, 'posts_per_page' => 3, ); $auto_mechanic_query = new WP_Query( $args ); if ( $auto_mechanic_query->have_posts() ) : ?>