<div id="mk-button-11" class="mk-button-container _ relative mk-animate-element flip-x block text-center twf mk-in-viewport">
<a onclick="yaCounter39276445.reachGoal('buyclick');" href="#" target="_self" class="mk-button js-smooth-scroll mk-button--dimension-flat mk-button--size-large mk-button--corner-pointed text-color-dark _ relative text-center font-weight-700 no-backface letter-spacing-2 inline">
<span class="mk-button--text">ПОЛУЧИТЬ БИЛЕТ</span>
</a>
</div>
<img src="<?php echo get_template_directory_uri(); ?>/logog.png" alt="">
Will only output the date if the current post’s date is different from the previous one output.
i.e. Only one date listing will show per day worth of posts shown in the loop, even if the function is called several times for each post.
<?php
echo wp_trim_words( get_the_content(), 40, '...' );
?>
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<?php wp_nav_menu(array('theme_location' => 'primary', 'container_class' => 'menu')); ?>
<?php endif; ?>