(formerly known as CF Geo Plugin)
The Geo Controller is a free WordPress plugin that allows you to attach content, geographic information, and Google Maps to posts, pages, widgets, and custom templates by detecting the user’s IP address.
With just a few simple shortcodes, PHP functions, or JavaScript calls, you can:
- Display geolocation-specific content to your visitors.
- Control menus, banners, CSS, and JavaScript based on visitor location.
- Embed Google Maps with customizable defaults.
- Improve SEO and conversion rates on landing pages.
⚡ Bonus: You can also set a default geographic location for your entire WordPress site.
- 🔹 Shortcodes for quick integration anywhere in WordPress.
- 🔹 PHP and JavaScript support for developers.
- 🔹 Google Maps integration with customizable zoom, markers, and info windows.
- 🔹 Geo-based navigation menu control.
- 🔹 Dynamic CSS/JS based on location.
- 🔹 REST API endpoints for advanced integrations.
- 🔹 SEO redirection and geotags support.
- 🔹 Spam and proxy protection (TOR, IP blacklist, etc).
- 🔹 GDPR-friendly, with Privacy Policy, Disclaimer, and Accessibility Statement included.
- Download or clone this repository.
- Upload the plugin folder to your WordPress site under:
/wp-content/plugins/ - Activate the plugin from the WordPress Admin → Plugins page.
- Configure the plugin under Settings → Geo Controller.
For the official release version, please download it from the WordPress.org Plugin Directory:
👉 https://wordpress.org/plugins/cf-geoplugin/
[cfgeo_map latitude="40.7128" longitude="-74.0060" zoom="12"]<?php
$data = CFGP_U::api();
echo 'Your country is: ' . esc_html($data->country);cfgeo.get(function(data) {
alert("Hello visitor from " + data.country);
});More examples and documentation:
👉 Official Documentation
If you need GPS support, try our free GPS Add-on.
You can download it directly from the repository.
We welcome contributions! 🎉
- Fork this repository.
- Create a new branch for your fix or feature.
- Submit a pull request.
If you notice any errors, bugs, or have suggestions for improvement, feel free to open an issue.
All contributors will be credited inside the plugin — become part of the Geo Controller family.
- Website: wpgeocontroller.com
- WordPress.org Plugin Page: cf-geoplugin
- Email: [email protected]
- Company: INFINITUM FORM®
This plugin is released under the GNU General Public License v2 (or later).
Copyright © 2014–present Ivijan-Stefan Stipic
Developed and maintained by INFINITUM FORM®.