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 (see below for the variant #_FILTER_WEEKS{xx}{}yy) shows a dropdown selection of the next X weeks (for X: see the shortcode [eme_filterform]). The variant #_EVENTFUL_WEEKS will limit the weeks to those having events in it.
  • #_FILTER_MONTHS (see below for the variant #_FILTER_MONTHS{xx}{}yy) shows a dropdown selection of the next X months (for X: see the shortcode [eme_filterform]). The variant #_EVENTFUL_MONTHS will limit the months to those having events in it.
  • #_FILTER_YEARS (see below for the variant #_FILTER_YEARS{xx}{}yy) shows a dropdown selection of the next X years (for X: see the shortcode [eme_filterform]). The variant #_EVENTFUL_YEARS will limit the years to those having events in it.
  • #_FILTERWEEKS, #_FILTERMONTHS, #_FILTERYEARS take 2 extra optional paremeters that indicate the number of week/months/years in the past and the future you want the scope to be. Example:
    #_FILTERYEARS{5}{3} to create a year scope from 5 years in the past till 3 years in the future
    #_FILTERYEARS{5} to create a year scope from 5 years in the past till the default scope count (taken from the shortcode [eme_filterform]) in the future
  • #_FILTER_MONTHRANGE shows a monthly range select
  • #_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