Vishmax.com
Read

How to display current month posts only in WordPress site

We design and develop websites, digital experiences, and software solutions for growing businesses.

Add below code to your template just before the loop and template will display only posts from current month.

 
	<?php
	$currentmonth = date('m');
	query_posts(
		array(
		'posts_per_page' => 11,
		'monthnum' => $currentmonth
	));
	?>