WP SypexGeo
Sypex Geo plugin for Wordpress
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/akalevich/wp-sypexgeo/archive/refs/heads/master.zipSypex Geo plugin for Wordpress
This plug-in to determine the location by ip using Sypex Geo. This plugin use Sypex Geo API in local database version. The plugin allows you to select a local database, GET query and Cookie or use HTTP-request to sypexgeo.net database, select language of country names (EN/RU)
Usage
-
To specify a list of countries:
[GeoCountry in=Belarus,Russia]Hello Belarus,Russia![/GeoCountry] -
To specify a list of regions:
[GeoRegion in=Moscow]Hello Moscow Region![/GeoRegion] -
To specify a list of cities:
[GeoCity in=Minsk,Brest,Kiev]Hello Minsk,Brest,Kiev![/GeoCity] -
To specify a list of cities:
[geotext in=Yekaterinburg text="Hello Yekaterinburg"] -
If you want exclude some countries (regions, cities) use "out":
[GeoRegion out=Minsk,Brest]Hello all, except Minsk,Brest![/GeoRegion]Example:
Добро пожаловать в WordPress. Это ваша первая запись. Отредактируйте или удалите её, затем пишите! Наши контакты: [GeoCountry in=Belarus]+375295552255[/GeoCountry][GeoCountry out=Belarus]+388475552255[/GeoCountry]
Installation
- Upload
wp-sypexgeofolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.