Languages: English • month 日本語 (Add your language)
Test to see if the page is a month based archive page.
<?php is_month(); ?>
This tag does not accept any parameters.
<?php if ( is_month() ) { // Do awesome. } ?>
Since: 1.5.0
is_month() is located in wp-includes/functions.php
.