Exemplo n.º 1
0
                </div>
    <?php 
} else {
    ?>
                <div class="event-description">
                <?php 
    echo wp_trim_words(get_post_field('post_content', $product_id), 50, $more = '');
    ?>
                </div>
    <?php 
}
?>
    <div class="event-action">
		<?php 
if (class_exists('U_event')) {
    $u_event = new U_event();
    $price = $u_event->getPrice();
    $vailable = $u_event->getAvailable();
}
?>
        <?php 
if ($vailable == 'variable') {
    ?>
        <form action="<?php 
    get_permalink(get_the_ID());
    ?>
" method="POST">
            <div class="element-pad">
            	<input type="hidden" name="event_action" value="add" />
                <label for="seat" class="small-text"><?php 
    _e('CHOOSE YOUR SEAT', 'cactusthemes');
Exemplo n.º 2
0
    //$date = $date->format(get_option('time_format'));
}
?>
            <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