Thanks
]]><div class="em em-view-container" id="em-view-959559093" data-view="list"> <div class="em pixelbones em-list em-events-list" id="em-events-list-959559093" data-view-id="959559093">
(Obviously the ID numbers are unique to that block.)
I’m trying to wrap the output list of events in a carousel, and noticed these before the list begins. Shouldn’t it only be showing one of these? Could that be the problem?
I can use the following function to update the classes shown:
add_filter('em_get_template_classes', function( $component ){
return array('owl-carousel', 'owl-theme');
}, 1);
Which would work fine if it were just one of the div tags, not both. I’m not sure if this was included in the latest update, but please fix ASAP!!!
]]>[events_list full="1" has_search="1" sorting="0" show_advanced="0" search_geo="0" show_search="1" long_events="1"]
However right above I have this shortcode which works fine and shows the search:
[events_calendar full="1" has_search="1" sorting="0" show_advanced="1" search_geo="0" show_search="1" long_events="1"]
Is this a bug? According to the documentation, the [events_list] should also support all search parameters
Is it posible to use shortcode to show events from one category only?
I want to make few lists, each of them will show only few news from one particular category only.
Thanks,
Damian
[events_list scope=”all” category=”11″]
The events I want to see all are of the category selected, but I do get an empty list. I checked what’s going on and found that the SQL statement you create is fine but the wp_term_relationships table does not contain the links between the events and the category. I inserted them manually to test, and now they show.
Is this a bug or is there something else going on here?
Events Manager is 5.12.1 WordPress 5.9.1
]]>[events_list scope=”past” order=”DESC” orderby=”event_start_date”]#_EVENTDATES – #_EVENTLINK, #_LOCATIONNAME<br>[/events_list]
But i get only 10 past events instead of all.
There are more than 10 past events in the database.
<div class="row">
<?php
echo do_shortcode('[events_list scope="future" limit="10" category="'.$EM_Category->output('#_CATEGORYID').'"][/events_list]');
?>
</div>
How can I catch with php with an if else construction if an empty result is returned? I would like to display custom HTML if no results are returned.
]]>[events_list]
to somehow skip events that already started in the past even if their end is still in the future?
In my particular application, I could limit the problem to events spanning multiple days. So, for example. I want to skip an event that started yesterday, even if it will end tomorrow.
]]>