?> <div class="date-block"> <div class="month"><?php echo date_i18n('M', strtotime($month)); ?> </div> <div class="day"><?php echo $day; ?> </div> </div> <?php if (class_exists('U_event')) { $u_event = new U_event(); $price = $u_event->getPrice(); $getPrice_num = $u_event->getPrice_num(); $vailable = $u_event->getAvailable(); global $woocommerce; } ?> <div class="event-overlay"> <div class="overlay-top"> <h4><a href="<?php echo get_permalink(get_the_ID()); ?> " title="<?php the_title_attribute(); ?> "><?php the_title_attribute(); ?>