Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Jungennamen nach Sprache

// WP_Query arguments
$args = array(
	'post_type'              => array( 'jungennamen' ),
	'nopaging'               => false,
	'paged'                  => '1',
	'posts_per_page'         => '10',
	'posts_per_archive_page' => '10',
	'ignore_sticky_posts'    => false,
	'order'                  => 'ASC',
	'orderby'                => 'title',
);

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

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

// Restore original Post Data
wp_reset_postdata();