Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

custom query

// WP_Query arguments
$args = array (
	'category_name'          => 'campus-community',
	'tag'                    => 'alumni',
	'orderby'                => 'rand',
);

// The Query
$related_query = new WP_Query( $args );

// The Loop
if ( $related_query->have_posts() ) {
	while ( $related_query->have_posts() ) {
		$related_query->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();