Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Микросетка

Квери для микросетки. Тест на Джойне

// WP_Query arguments
$args = array(
	'nopaging'               => true,
	'posts_per_page'         => '32',
	'order'                  => 'ASC',
	'orderby'                => 'rand',
);

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

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

// Restore original Post Data
wp_reset_postdata();