This plugin enables you to change your site logo based on 2 settings. The first setting can be used to change your site logo based on the country of your site visitor. The 2nd setting is used to change your site logo based on the language selection using the WPML plugin if active otherwise it only works with the 1st setting.
The plugin works with block and non block themes.
The settings page includes settings for :
- Debug Tools to clear transients and download the Max Mind database which is automatically unzipped and added to your plugin folder
- Geolocation Settings using the MaxMind GeoLite2 database is installed and will be used for country detection which includes the Database File Path to the location that the MaxMind database is stored.
- MaxMind License Key field with a link to the MaxMind website where you can sign up for an account and copy your license key for use in this setting. If you decide not to use MaxMind, the plugin will still work using 1 of 5 methods. See below for more details.
- Logo Change Behavior which enables you to set how you want the logo changed based on the Visitor’s Country and/or Visitor’s Country. Visitor’s Country. Select which conditions should trigger the logo change. You can enable both options.
- Language Logo media upload fields to add logos for each country or language. The logo will be displayed based on the visitor’s country or WPML language selection.
ScreenShots
Shows all the plugin settings and the page on the maxmind website where you can grab your license key needed for pasting into the plugin settings.
Setup
After plugin activation you’ll find a new top level menu item in your WordPress dashboard named Logo Language.
- In the Geolocation Settings section, click the Get a free MaxMind account link, create an account and grab your license key which you can enter in the MaxMind License Key settings. Save changes.
- In the Debug Tools section above, click the Download MaxMind Database. Save changes
- In the Logo Change Behavior section, Select the the settings based on when you want your logo to change.
- In the Language Logos section, upload your country flags or anything else you want displays based on your settings. Save changes.
Need extra logo upload fields added for more countries? Fire away using the contact form below and we’ll add them no extra charge.
Visitor Detection Methods
The detection sequence is :
- Check transient cache (fastest, but temporary)
- Try WooCommerce geolocation (if WooCommerce is active)
- Try MaxMind database (accurate, but requires setup)
- Try IP-API.com (fallback, free service)
- Try browser geolocation (requires user permission)
Each successful detection is cached for 24 hours using transients to improve performance.
Reviews
There are no reviews yet.