Format templates

Format templates are just the same as what you would enter in the header, footer, events list or location list format settings in the general EME settings.

But sometimes you want to define a different format for event or location listings, depending on the page you are. In this case you can use the old “format” option for the [eme_events] shortcode, but that is not a very flexible solution. So now you can just define templates and use them with the option template_id. E.g.:

[eme_events template_id=3]

You can also use templates for header and footers in the eme_events and eme_locations shortcodes, using the options template_id_header and template_id_footer. Also many other shortcodes support placeholders, see their explanation for that.

Templates have 1 extra placeholder: #_INCLUDE_TEMPLATE{xx} (with xx being the id of another template). This allows you to include a template inside another template. So, for example, you can create a generic footer template and include that in several other mailing templates.