…is this being abandoned?
iR
]]>Hi!
Can I filter regions or cities insted of countries?
Thanks,
Istvan
How do i allow my front end users to select their country when making a post? I have a plugin that allows my users to submit posts via the front end and I want them to be able to set the location of the post. Also how do i make a page with posts from that country?
]]>Hi,
first of all – thank you for your plugin. It’s just what i was looking for! Good job.
Howeaver, I need some help to configure it.
I would like to use it in my wordpress site in this way: I need to show some posts to one country and hide to all others and vice verca – show some posts to all countries and hide for this one. Is there any chance to configure Geo Targeted Posts to do it?
Thanks, all the best. Mat
$_SERVER[‘REMOTE_ADDR’] won’t return the correct IP address if server is using a load balancer or other type of proxy.
In that case, plugin seems to default to showing the content, even where the country clearly can’t match?
Instead, do we need to use HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR? And possibly default to denying access to post rather than displaying it?
See here solution we provided for same problem with another geo-ip type plugin;
https://www.ads-software.com/support/topic/plugin-geo-redirect-incorrect-or-empty-visitor-ip-address-remote_addr-on-certain-servers
regards,
a.