Hi,
We have 6 views, but it is not possible to show only the current day events.
Hi,
not only the current day events.
I need to show in home page the future five events in clendar.
I search for an api, a rss feed, but I can’t find anything like.
I can use the agenda views, but I don’t need the graphics. A simple ul or a node xml….
Thanks!
Or better a “wp_query like” to use, whith params.
Hi,
I guess you can achieve by using wp_query something like this :
$args = array( 'post_type' => 'ai1ec_event',
'posts_per_page'=> -1,
'paged' => -1,
'orderby' => 'date',
'order' => 'DESC',
);
$query = new WP_Query();
$query->query( $args );
if ($query->have_posts())
{while ($query->have_posts())
{ // do what you want to display}
}
wp_reset_query();
Hope this will work.
Thanks
This not work, not show the repeated events.
Hi,
To make it work with repeated events or events between the dates or next future events, you have to slightly modify your query as event dates are storing in separate tables from where you can pull the event id with respect to that date. These are the 2 tables which you can play around with.
1. <yourtableprefix>_ai1ec_event_instances
2. <yourtableprefix>_ai1ec_events
Thanks