if ( '123' == event.detail.contactFormId ) {
location = 'http://example.com/';
}
if( $title[1] == date("Y") ):
if( dateParse($title[0]) == date("n") || dateParse($title[0]) == date("n",strtotime("+1 Months")) || dateParse($title[0]) == date("n",strtotime("+2 Months")) ):
?>
<a href="<?php the_permalink(); ?>" class="tabs__item <?php if( $theID == get_the_ID() ) { $title_month = dateParse($title[0]); echo 'active';} ?>" data-month="<?php echo dateParse($title[0]); ?>">
<span><?php echo $title[0]; ?></span>
</a>
<?php
endif;
endif;