[Plugin: Events Manager] Displaying Recurring Events Dynamically Using Category ID
-
So here is a working code I have used in the past:
$show = get_field('show_id'); <? if (have_posts()) : ?> <? while (have_posts()) : the_post(); ?> <?php if (class_exists('EM_Events')) { echo EM_Events::output( array( 'category' => $show, 'limit'=> 1 ) ); } ?> <? endwhile; ?> <? endif; ?>
and it works on a couple pages such as https://dev.blazeradio.org/member/josh-flayhart/
but then on some other pages, like https://dev.blazeradio.org/member/jennifer-lowry/ it does not show. Since the update, all new DJs I create with show ids do not show, but the first three I created do show their show events.
Why would this be the case? I have added the correct event category ID for that page just as I did for the josh page that works.
- The topic ‘[Plugin: Events Manager] Displaying Recurring Events Dynamically Using Category ID’ is closed to new replies.