Answer the question
In order to leave comments, you need to log in
How to display geotargeted ads in WordPress?
There is a site where ads should be shown to everyone except visitors from one country. What is the easiest way to implement this in WordPress?
Answer the question
In order to leave comments, you need to log in
codecanyon.net/item/geo-ads-switcher-plugin-geo-ta...
Well, either write your own plugin using some Sypex Geo
Or just do a country check directly in the template again using Sypex Geo or a similar lib
Google Maps Geo API. Get the country and then hide or show the ad block.
Using the free WT Geotargeting plugin and the wt_geotargeting shortcode , you can customize the display of ads for all countries except one country.
An example of displaying ads for all countries except China with IpGeoBase geolocation:
[wt_geotargeting country_not_show="CN"] Реклама [/wt_geotargeting]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question