Viewing 3 replies - 1 through 3 (of 3 total)
  • If you know the post id you can do this on your custom page (replace [id] with your post id):

    $event = Ai1ec_Events_Helper::get_event([id]);

    The event object has a lot of data including data for the post. You can see all data by doing this:

    var_dump($event);

    If you want formatted versions of some of the data you can use one of the getters:

    echo $event->start_time;

    These are the formatted properties currently available:
    uid, short_start_time, short_end_time, short_start_date, short_end_date, start_time, end_time, long_start_time, long_end_time, long_start_date, long_end_date, timespan_html, post_excerpt, location, categories_html, tags_html, color_style, category_colors, contact_html, recurrence_html

    Note that this is internal to All-in-One Event Calendar and can change in the future.

    You will have to edit your page template.
    You may need to include the plugin’s bootstrap file if Ai1ec_Events_Helper is not defined.
    For the rest, just follow josjo’s reply.

    Wow.. great solution!

    Finally I get it… it was so frustrating till now… thanks josjo!

    One more thing. What about retrieving the google map?

    Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Getting event details for events page?’ is closed to new replies.