| 开发者 | pathakhrkinc |
|---|---|
| 更新时间 | 2026年2月13日 03:06 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[geoip_country] - Display visitor's country name[geoip_country format="code"] - Display country code (e.g., US, UK, IN)[geoip_ip] - Display visitor's IP addressGeoLite2-Country.mmdb file/wp-content/plugins/geoip-content-switcher/database/composer install --no-devYes! The plugin works with any WordPress site. WooCommerce integration is optional and only activates if WooCommerce is installed.
You can download it for free from MaxMind:
database/ folderNo, due to MaxMind's license terms, you must download it separately. It's free and takes just a few minutes to set up.
Yes! It's fully compatible with:
Yes! The plugin automatically detects and uses Cloudflare's CF-IPCountry header for faster and more accurate country detection.
Absolutely! Subdomain redirection is optional. You can use the plugin just for content switching, payment filtering, or product visibility without any subdomain setup.
Yes! Fully tested and compatible with:
No! The plugin is highly optimized:
Yes! The admin panel lets you select which payment gateways are available for each country.
Yes! You can hide entire product categories per country through the admin settings.
Yes! The plugin is fully compatible with Elementor and other page builders. You can create country-specific pages and assign them as homepages.
Yes! The plugin:
Yes! Use these shortcodes:
[geoip_country] - Shows country name[geoip_country format="code"] - Shows country code[geoip_ip] - Shows IP addressYes! The plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).
Yes, but country detection won't work on localhost (127.0.0.1). You'll need to:
MaxMind updates their database monthly. To update:
GeoLite2-Country.mmdb file in the database/ folderCurrently, the plugin focuses on content, payments, and shipping. Currency switching is planned for a future version.
The plugin is designed for single-site installations. Multisite compatibility is not officially supported at this time.
For support, please use the WordPress.org support forum for this plugin. For priority support or custom development, contact the developer.