Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1343
    Bryn Davies

    I want to include my events on my home page(no sidebar) so therefore I understand I need to call the_widget() function but am unsure of what the values should be.

    If no shortcodes are forthcoming for front-end developers, can you supply an example bit of code to use your plugin with the_widget() function.

    I just want to display a list of the next 5 events, without using a sidebar.

    Thanks for your time.


    Bryn, there’s no need to use the_widget() to display events. Events Maker provides a number of fuctions to help you out.

    Take a look at that secion of documentation and em_display_events() and em_get_events() especially. First one is used for automated display (like in Events List WIdget), second one works almost the same like WordPress native get_posts() – you can use it to get events, then make a loop to customize the display.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.