06 – Shortcodes

[eme_countdown]

[eme_countdown] Returns the number of days until the next event or the event specified. Accepts the following optional argument: id: the ID of the event for which you want the countdown to happen. If not specified: count down until the first future event. Example: [eme_countdown id=25] Word of warning: this actually only shows the full-day […]

[eme_countdown] Read More »

[eme_locations]

[eme_locations] Inserts a list of locations. Accepts the following arguments: eventful: if set to true, only locations with events planned will be shown. Default: false. scope: see the explanation for [eme_events]. You need to set eventful to true for this to have any effect. Default: all. category: see the explanation for [eme_events]. If eventful=true as

[eme_locations] 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 https://www.e-dynamics.be/wordpress/?cat=51 ignore_url (optional): allows you to ignore the external url for this event

[eme_event] Read More »

Shortcodes

Events Made Easy has shortcodes for showing events, locations and a filtering form on any page in any custom format possible. Below you find a list of all possible shorcodes with their explanation. Shortcodes can be used on regular wordpress pages while – in order to change the layout to your liking – placeholders can

Shortcodes Read More »

Scroll to Top