Really need helo with taxonomy or event list by category
-
First of all, this plugin is so powerfull, amazing … but hard to use for developers … Or maybe just for me.
I got this page template
https://www.servidoreshosting.cl/ap/eventos/At the left a filter for each event category printed by this code:
<ul> <?php $taxonomy = 'event-categories'; $tax_terms = get_terms($taxonomy); foreach ($tax_terms as $tax_term) { echo '<li>' . '<a href="' . esc_attr(get_term_link($tax_term, $taxonomy)) . '">' . $tax_term->name.'</a></li>'; } ?> </ul>
Also I print event list with this code:
<?php while ( have_posts() ) : the_post(); ?> <?php if (class_exists('EM_Events')) { echo EM_Events::output( array( 'limit'=>8, 'orderby'=>'name' ) ); } ?> <?php endwhile; ?>
All works fine here.
But … If I select an item from the filter to get only events from certain category … ufff … simply don’t work.
I have tried “taxonomy-event-categories.php” wich simply does nothing.
I have tried category-single.php inside THEMEFOLDER/plugins/events-manager/templates but can’t get event information that file maybe is to show categories … I’m gettin frustrating.Can please anybody help me? I have been hours and hours looking for the answer or solution by myself but … ufff.
Thanks in advance!
- The topic ‘Really need helo with taxonomy or event list by category’ is closed to new replies.