'3', 'orderby' => 'rand', 'post__not_in' => array( get_the_ID() ), 'no_found_rows' => true, 'tax_query' => array ( 'relation' => 'AND', array ( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => array( 'post-format-quote', 'post-format-link' ), 'operator' => 'NOT IN', ), ), ); // Related query arguments $aces_related_query = new WP_Query( $args ); if($aces_related_query->have_posts()): ?>

have_posts()): $aces_related_query->the_post(); ?>