Support

Home Forums Event Espresso Premium Table filters

Table filters

Posted: March 8, 2017 at 1:34 pm

Viewing 0 reply threads


William Tozzo

March 8, 2017 at 1:34 pm

Hi Guys,

What do we have to add for the two additional filters for ‘Venue’, and ‘Date’ on the table template add on to appear next to the existing filter below please?

<?php if ($category_filter != 'false'){ ?>
	<p class="category-filter">
		<label><?php echo __('Category Filter', 'event_espresso'); ?></label>
		<select class="" id="ee_filter_cat">
		<option class="ee_filter_show_all"><?php echo __('Show All', 'event_espresso'); ?></option>
		<?php
		$taxonomy = array('espresso_event_categories');
		$args = array('orderby'=>'name','hide_empty'=>true);
		$ee_terms = get_terms($taxonomy, $args);
		foreach($ee_terms as $term){
			echo '<option class="' . $term->slug . '">'. $term->name . '</option>';
		}
	    ?>

Thanks

Viewing 0 reply threads

The support post ‘Table filters’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso