* * @package TribeCommunityEvents * @since 2.1 * @author Modern Tribe Inc. * */ if (!defined('ABSPATH')) { die('-1'); } $icons = array('publish' => 'checkmark', 'draft' => 'file', 'pending' => 'clock'); // List "Add New" Button do_action('tribe_ce_before_event_list_top_buttons'); ?> <div id="add-new"><a href="<?php echo esc_url(tribe_community_events_add_event_link()); ?> " class="vamtam-button button button-border accent-2 hover-accent-2"><span class="btext"><?php echo apply_filters('tribe_ce_add_event_button_text', __('Add New', 'tribe-events-community')); ?> </span></a></div> <div class="table-menu-wrapper"> <?php if ($events->have_posts()) { ?> <a href="#" class="table-menu-btn vamtam-button button button-border accent-2 hover-accent-2"><span class="btext"><?php echo apply_filters('tribe_ce_event_list_display_button_text', __('Display', 'tribe-events-community')); ?> </span></a><!-- table-menu-btn -->
* [your-theme]/tribe-events/community/event-list.php * * @package TribeCommunityEvents * @since 2.1 * @author Modern Tribe Inc. * */ if (!defined('ABSPATH')) { die('-1'); } // List "Add New" Button do_action('tribe_ce_before_event_list_top_buttons'); ?> <div id="add-new"><a href="<?php echo tribe_community_events_add_event_link(); ?> " class="button"><?php echo apply_filters('tribe_ce_add_event_button_text', __('Add New', 'tribe-events-community')); ?> </a></div> <div class="table-menu-wrapper"> <?php if ($events->have_posts()) { ?> <a href="#" class="table-menu-btn button"><?php echo apply_filters('tribe_ce_event_list_display_button_text', __('Display', 'tribe-events-community')); ?> </a><!-- table-menu-btn -->