Description
The geoip shortcode detects and displays information about the visitor’s current location based on IP address.
Shortcode Examples
[memb_geoip]
[memb_geoip provider="geoip"]
[memb_geoip provider="hostip"]
[memb_geoip default="Unknown"]
[memb_geoip field="state"]
[memb_geoip field="country"]
[memb_geoip field="state" txtfmt="strtolower"]
Shortcode Parameters
capture | A comma separated list of destinations to send the output of the shortcode to. (?) |
|---|
default | The value to display if the GeoIP detected value is empty. |
|---|
field | The field you want to display. Please see the description for possible values. |
|---|
provider | The name of the GeoIP service to use, options are FreeGeoIP, GeoIP, and HostIP. |
|---|
txtfrmt | A comma delimited list of text processing functions that will be applied on the output. (?) |
|---|
Shortcode Attributes
| Conditional | No |
| Nestable | No |
| Accepts formatting | Yes |
| Capturable | Yes |