开发者 | sunnybundel |
---|---|
更新时间 | 2025年8月29日 19:25 |
PHP版本: | 7.2 及以上 |
WordPress版本: | 6.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[useriploc type="ip"]
[useriploc type="continent"]
[useriploc type="country"]
[useriploc type="countrycode"]
[useriploc type="region"]
[useriploc type="regionname"]
[useriploc type="city"]
[useriploc type="lat"]
[useriploc type="lon"]
[useriploc type="timezone"]
[useriploc type="currency"]
[useriploc type="isp"]
[useriploc type="browser"]
[useriploc type="os"]
[useriploc type="flag" height="auto" width="50px" vertical_align="baseline"]
As for the Flag shortcode, the height, width, and vertical_align attributes are optional. The default values for height and weight are auto and 50px, respectively. For the vertical_align attribute, baseline is the default value. You can, however, change the vertical_align attribute value to bottom, middle, or top based on the location where you want the flag to appear. Depending on your preference, you can pass one or both of these values to alter the flag's size.
Features of User IP and Location
User Location and IP
in the search box.Install
button.Activate
button..zip
file.Upload Plugin
button.Install Now
.Activate
button.Yes, you can use the [useriploc type="ip"]
shortcode to show the IP address of the visitor.
You can use the shortcodes provided with "User Location and IP" plugin to show a user's location, including country, region, country code, city, latitude, longitude, and other useful information.
Yes, flag shortcodes are supported by this plugin. You can display the flag of a visitor's country using the [useriploc type="flag" height="auto" width="50px" vertical_align="baseline"] shortcode. Height, width, and vertical_align are optional, and the default values are auto for height, 50px for width, and baseline for vertical_align. It is possible to pass any or all of these values to change the flag's size and alignment.
vertical-align
CSS attribute to align the flag properly.