[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.
]]>There is a box labelled “Default format for events list” where I can enter custom HTML.
My goal:
Entering the custom HTML for the [events_list] shortcode DIRECTLY in the plugin file. In which file in the plugin folder at which line exactly can I do the modification?
Event Manager 5.9.6
WordPress 5.2.4 I have tried with different themes with the same result.