Shortcodes

You are here:

Here you can see a list of available shortcodes and all the options:

Important: We recommend to use 2 letters iso codes here.

Filter Shortcodes

  • [geot_filter country="" region="" exclude_country="" exclude_region=""] CONTENT HERE [/geot_filter]
    • country: You can place as many as needed separated by a comma. Content will show only to given countries.
    • region: You can place as many as needed separated by a comma. Content will show only to countries of given regions
    • exclude_country: You can place as many as needed separated by a comma. Content will not show to given countries
    • exclude_region: You can place as many as needed separated by a comma. Content will not show  to countries of given regions
  • [geot_filter_city city="" region="" exclude_city="" exclude_region=""] CONTENT HERE [/geot_filter_city]
    • city: You can place as many as needed separated by a comma. Content will show only to given cities
    • region: You can place as many as needed separated by a comma. Content will show only to cities of given regions
    • exclude_city: You can place as many as needed separated by a comma. Content will not show to given cities
    • exclude_region: You can place as many as needed separated by a comma. Content will not show  to cities of given regions
  • [geot_filter_state state="" exclude_state=""] CONTENT HERE [/geot_filter_state]
    • state: You can place as many as needed separated by a comma. Content will show only to given states
    • exclude_state: You can place as many as needed separated by a comma. Content will not show to given states
  • [geot_filter_zip zip="" exclude_zip=""] CONTENT HERE [/geot_filter_zip]
    • zip: You can place as many as needed separated by a comma. Content will show only to given zips
    • exclude_zip: You can place as many as needed separated by a comma. Content will not show to given zips

Info Shortcodes

  • [geot_country_code default=""] : Will display current user country code. Eg: “US” or default text if you provide
  • [geot_country_name default=""] : Will display current user country name. Eg: “United States” or default text if you provide
  • [geot_city_name default=""] : Will display current user city name if available. Eg: “Miami” or default text if you provide
  • [geot_state_name default=""] : Will display current user state if available Eg: “Florida” or default text if you provide
  • [geot_state_code default=""] : Will display current user state iso code Eg: “FL” or default text if you provide
  • [geot_zip default=""] : Will display current user zip code Eg: “33166” or default text if you provide
  • [geot_time_zone default=""] : Will display current user timezone Eg: “Europe/Brussels” or default text if you provide
  • [geot_lat default=""] : Will display current user latitude Eg: “50.85” or default text if you provide
  • [geot_lng default=""] : Will display current user longitude Eg: “4.12” or default text if you provide
  • [geot_debug] : Will display all info from above plus some other debug data

Ajax mode

In Ajax mode we use placeholders that later are replaced with javascript with the correct information or removed in the case of filter shortcodes. For these shortcodes exists a new parameter that can be user called html_tag=""

By default we use "div" for filter shortcodes and "span" for information shortcodes