Author name: admin

Function API

If you’re into theming or you need to write some extra filters/hooks, you should probably use some function calls provided by Events Made Easy. Below you find some of the more relevant calls. eme_get_events_list(args) Prints or returns a list of the events. Accepts optional arguments, specified in a string (“key=value&key=value etc). See the documentation concerning

Function API Read More »

[eme_filterform]

[eme_filterform] Creates a form with drop-downs for categories, locations, cities, countries, weeks, months (configurable in the settings). This shortcode is only usefull if used on the same page as the shortcodes [eme_events], [eme_locations], [eme_calendar] or [eme_locations_map] (because it is in fact these shortcodes that interpret the filter submit). Accepts the following parameters: multiple: 0 or

[eme_filterform] Read More »

[eme_ical_link]

[eme_ical_link] Prints a the link to the events ICAL feed. Accepts the following arguments: justurl: true or false. If true, only prints the ICAL URL. Default: false. category: see the explanation for [eme_events] notcategory: see the explanation for [eme_events] scope: see the explanation for [eme_events] contact_person: see the explanation for [eme_events] location_id: see the explanation

[eme_ical_link] Read More »

[eme_rss_link]

[eme_rss_link] As the eme_rss_link template tag does, prints a link to the events RSS feed. Accepts the following parameters: justurl If you set this property to true, the function only prints the RSS URL. limit indicates the maximum number of events to display. Default is 5. If you give the value “0” there’s no limit.

[eme_rss_link] Read More »

[eme_events_page]

[eme_events_page] Prints a link to the events page. Accepts the following parameter: justurl: true or false. If true, only prints the URL of the events page. Default: false. Examples: [eme_events_page] [eme_events_page justurl=true] Remark: in general, you don’t need this shortcode, but you’ll want to use [eme_events] on a regular page and point to that page

[eme_events_page] Read More »

[eme_calendar]

[eme_calendar] As the eme_get_calendar template tag does, this shows a calendar in the page where you put this shortcode. It accepts the following parameters: full indicates you want to show the large calendar, don’t use this in sidebar widgets. Defaults to false. Possible values: 0 or false, 1 or true month indicates the month you

[eme_calendar] Read More »

[eme_location_map]

[eme_location_map] Shows the map for a single location. Accepts the following arguments: id: the id of the location to be shown, this parameter is required. width: the width (as css style) in px, fr, em or percentage (e.g. 100%) of the map. Default: 0 (recommended to set this to e.g. 450 if the map doesn’t

[eme_location_map] Read More »

[eme_event]

Returns the page describing a single event. Accepts the following arguments: id: the ID of the event you want show. template_id (optional): use a predefined format template for the event, instead of the setting configured in ‘Default single event page format’. See http://www.e-dynamics.be/wordpress/?cat=51 ignore_url (optional): allows you to ignore the external url for this event

[eme_event] Read More »

Scroll to Top