WP_Query orderby 'rand' not working
问题 Trying to order some posts I'm displaying on a single custom post type page with random, but they aren't random at all. :/ <?php // Grab the taxonomy term slug for the current post $terms = get_the_terms( get_the_ID(), 'category-staff' ); if ( $terms && ! is_wp_error( $terms ) ) : $draught_links = array(); foreach ( $terms as $term ) { $draught_links[] = $term->slug; } $on_draught = join( ", ", $draught_links ); ?> <div class="container hidden-xs"> <div class="row"> <div class="col-sm-12">