Shortcodes

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

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

Available

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="" region="" exclude_state="" exclude_region=""] CONTENT HERE [/geot_filter_state]
    • state: You can place as many as needed separated by a comma. Content will show only to given states
    • region: You can place as many as needed separated by a comma. Content will show only to states of given regions
    • exclude_state: You can place as many as needed separated by a comma. Content will not show to given states
    • exclude_region: You can place as many as needed separated by a comma. Content will not show  to states of given regions
  • [geot_filter_zip zip="" region="" exclude_zip="" exclude_region=""] CONTENT HERE [/geot_filter_zip]
    • zip: You can place as many as needed separated by a comma. Content will show only to given zips
    • region: You can place as many as needed separated by a comma. Content will show only to zips of given regions
    • exclude_zip: You can place as many as needed separated by a comma. Content will not show to given zips
    • exclude_region: You can place as many as needed separated by a comma. Content will not show  to zips of given regions
  • [geot_filter_radius geo_mode="show" radius_km="100" lat="" lng="" ]CONTEN HERE[/geot_filter_radius]
    • geo_mode:Either if you want to show everything inside the radius, or if you want to hide
    • radius_km:The size of the radius circle in KM from the gsp point
    • lat:Latitude point. Eg: -5.23423
    • lng:Longitude point. Eg: 20.42

Visit the following link to see a working demo of filter shortcodes.

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_region default=""] : Will display all regions that users belongs to.
  • [geot_debug] : Will display all info from above plus some other debug data

Others

  • [geot_dropdown flags="yes" regions=""]: Will display the country dropdown widget

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.

[geot_placeholder] : To show a placeholder text until ajax it's completed. Then it will be automatically remove from dom. Simply paste it next to your filter shortcodes.

Check out our WordPress geolocation solutions
to find out everything you can do!

Start your free trial