mage-eventpress/templates/single/total_seat.php

12 lines
579 B
PHP
Raw Normal View History

2021-11-02 03:28:50 -04:00
<h5>
<strong>
<?php echo mep_get_option('mep_total_seat_text', 'label_setting_sec') ? mep_get_option('mep_total_seat_text', 'label_setting_sec') : esc_html__('Total Seats:', 'mage-eventpress'); ?>
</strong>
<?php
echo esc_html($total_seat);
if ($mep_available_seat == 'on') {
?>
(<strong><?php echo esc_html(max($total_left, 0)); ?></strong>
<?php echo mep_get_option('mep_left_text', 'label_setting_sec') ? mep_get_option('mep_left_text', 'label_setting_sec') : esc_html__('Left:', 'mage-eventpress'); ?>)
<?php } ?>
2021-10-31 07:01:04 -04:00
</h5>