Filter form formatting

This defines the layout of the event list or calendar filtering form when using the shortcode [eme_filterform]. The following placeholders can be used:

  • #_FILTER_CATS shows a dropdown selection of categories
  • #_EVENTFUL_FILTER_CATS shows a dropdown selection of eventful categories
  • #_FILTER_CATS{xx} or #_EVENTFUL_FILTER_CATS{xx} shows a dropdown selection of (eventul) categories with between braces the text you want as the first “choice”
  • #_FILTER_LOCS shows a dropdown selection of locations
  • #_EVENTFUL_FILTER_LOCS shows a dropdown selection of eventful locations
  • #_FILTER_LOCS{xx} or code>#_EVENTFUL_FILTER_LOCS{xx} shows a dropdown selection of (eventful) locations with between the optional braces the text you want as the first “choice”
  • #_FILTER_TOWNS (or #_FILTER_CITIES) shows a dropdown selection of towns
  • #_EVENTFUL_FILTER_TOWNS (or #_EVENTFUL_FILTER_TOWNS) shows a dropdown selection of eventful towns
  • #_FILTER_TOWNS{xx} or #_EVENTFUL_FILTER_TOWNS{xx} (or …CITIES) shows a dropdown selection of (eventful) towns with between the optional braces the text you want as the first “choice”
  • #_FILTER_COUNTRIES shows a dropdown selection of countries
  • #_EVENTFUL_FILTER_COUNTRIES shows a dropdown selection of eventful countries
  • #_FILTER_COUNTRIES{xx} or #_EVENTFUL_FILTER_COUNTRIES{xx} shows a dropdown selection of (eventful) countries with between the optional braces the text you want as the first “choice”
  • #_FILTER_WEEKS shows a dropdown selection of the next X weeks (for X: see the shortcode [eme_filterform])
  • #_FILTER_MONTHS shows a dropdown selection of the next X months (for X: see the shortcode [eme_filterform])
  • #_FILTER_MONTHRANGE shows a monthly range select
  • #_FILTER_YEARS shows a dropdown selection of the next X years (for X: see the shortcode [eme_filterform])
  • #_FILTER_CONTACT or #_FILTER_CONTACT{xx} shows a dropdown selection of wordpress users to filter as contact with between the optional braces the text you want as the first “choice”. There is also #_FILTER_CONTACT{xx}{yy} where the second braces allow you to exclude certain wordpress users from the dropdown list (comma-separated list of wordpress ids)
  • #_FILTER_AUTHOR or #_FILTER_AUTHOR{xx} shows a dropdown selection of wordpress users to filter as author with between the optional braces the text you want as the first “choice”. There is also #_FILTER_AUTHOR{xx}{yy} where the second braces allow you to exclude certain wordpress users from the dropdown list (comma-separated list of wordpress ids)
  • #_FIELD{xx} displays custom made fields (replace xx by the ID or the name of a field you created in the “Events => Form fields” page.
  • #_SUBMIT{xx} displays displays the submit button with between the braces the text you want for the button (qtranslate compatible). If you leave out #_SUBMIT{xx} or #_SUBMIT in the template for the form, a default submit button will be added.
  • #_SUBMIT displays displays the submit button with the default text ‘Submit’. If you leave out #_SUBMIT{xx} or #_SUBMIT in the template for the form, a default submit button will be added.

Of course regular html can be inserted as well. The opening/closing form-tags are added afterwards.

Scroll to Top