Maher Geo Banner (Cloudflare)
Maher Geo Banner is a powerful WordPress plugin designed to display targeted marketing,it's a powerful WordPress plugin designed to display targeted marketing banners based on a visitor's geo. it allows you to show specific banners to users from particular countries or exclude certain countries from seeing content.
by Mohamed Ali Maher · github.com/ithubeg/wp-mahergeobanners
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ithubeg/wp-mahergeobanners/archive/refs/heads/main.zipMaher Geo Banner Plugin (Work with Cloudflare)
Introduction
Maher Geo Banner is a powerful WordPress plugin designed to display targeted marketing banners based on a visitor's geographic location. This plugin works seamlessly with Cloudflare's Geo IP services, enabling you to deliver tailored marketing messages to users from specific countries.
Part of the Maher Apps ecosystem - A collection of professional web and mobile applications. Explore more at:
Key Features
-
Precise Geographic Targeting: The plugin allows you to target website visitors based on their geographic location using built-in location services like Cloudflare Geo IP, enabling you to deliver tailored marketing messages to specific regions.
-
Complete Control Over Content Display: Using shortcodes, you can control which content is displayed to visitors from specific countries or exclude certain countries. For example, you can display special banners only to users in the US or hide content from specific regions.
-
Shortcode Generator: The plugin provides a page in the dashboard where users can easily select countries and generate shortcodes, making it easy for website administrators to create custom shortcodes without needing coding knowledge.
-
Statistics and Analysis: The plugin provides reports and statistics on the number of banner views and clicks for each country, helping you evaluate the effectiveness of your marketing campaigns and make improvements based on data.
-
Integration with Multiple Location Services: The plugin integrates with multiple geolocation services (such as MaxMind, IPStack, Cloudflare), providing multiple options for obtaining accurate visitor location information.
How to Use
-
Add a Shortcode for All Visitors:
[maher-geo-code]This content is displayed to everyone[/maher-geo-code] -
Add a Shortcode Displayed Only in Specific Countries:
[maher-geo-code geo="US,GB"]This content is displayed only to users in the United States and the United Kingdom[/maher-geo-code] -
Add a Shortcode Excluding Specific Countries:
[maher-geo-code not-geo="US,GB"]This content is displayed to everyone except users in the United States and the United Kingdom[/maher-geo-code]
Installation
- Upload the plugin files to the plugins folder in your WordPress website.
- Activate the plugin through the WordPress dashboard.
- Go to the plugin settings page to configure target countries and customize shortcodes.
- For optimal results, ensure your site is hosted on Cloudflare or configure alternative geolocation services in the settings.
Ideal Use Cases
- E-commerce Websites: Display special offers or discounts based on the customer's location
- Multilingual Content Websites: Provide different content or banners based on the visitor's geographic location
- Local Businesses: Target potential customers within specific geographic areas
- Compliance & Legal: Show region-specific disclaimers or legal notices
- Regional Marketing Campaigns: Run location-based promotional campaigns
Requirements
- WordPress 5.0 or higher
- PHP 7.2 or higher
- Cloudflare hosting (recommended) or alternative geolocation service API
Configuration
The plugin settings allow you to:
- Choose your preferred geolocation service
- Configure API keys for MaxMind or IPStack (if not using Cloudflare)
- Set default banner display options
- Enable/disable analytics tracking
Performance
- Lightweight and optimized for speed
- Minimal database queries
- Caching support to reduce load times
- Compatible with popular caching plugins (WP Super Cache, W3 Total Cache, etc.)
Support & Issues
For bug reports, feature requests, and support:
- 📧 GitHub Issues: Report an Issue
- 📱 Mobile Apps: Check out more Maher Apps
Developer Profile
About Maher Apps:
I'm Mohamed Ali Maher, a full-stack developer with expertise in:
- WordPress Plugin Development
- Mobile App Development (Flutter, Android, iOS)
- Web Technologies (JavaScript, React, Vue.js)
- Backend Development (Node.js, Laravel, Django)
- Geo-location & Location-based Services
My Projects:
- 🔌 WordPress Plugins: Geo-targeting solutions for websites
- 📱 Mobile Apps: Productivity, utility, and specialized applications
- 🔗 Full-stack Web Applications: SaaS platforms and business tools
Connect:
- GitHub: @ithubeg
- Google Play: Maher Apps Developer
License
This plugin is provided as-is. Check the LICENSE file for details.
Changelog
Version 1.0.0
- Initial release with Cloudflare Geo IP support
- Shortcode generator
- Analytics and reporting
- Multi-location service integration
Last Updated: 2026-05-04
Author: Mohamed Ali Maher (@ithubeg)