
Control the visibility of individual menu items based on a user's country.
| Author: | Ryan Stutzman (profile at wordpress.org) |
| WordPress version required: | 3.1 |
| WordPress version tested: | 4.8 |
| Plugin version: | 1.0.4 |
| Added to WordPress repository: | 06-03-2016 |
| Last updated: | 06-05-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 90 |
| Rated by: | 4 |
| Plugin URI: | |
| Total downloads: | 5 443 |
| Active installs: | 10+ |

Click to start download
|
Screenshots

Go to Menus Page

Select Countries

Select Visibility
FAQ
Installation Instructions
- Upload the
/location-specific-menu-items-by-country/ directory to the /wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Optionally, click the button in the admin notification to download Geolite databases
- Locate the ‘Menus’ item on the ‘Appearance’ menu
- While editing a menu item, you will see a new option called Set Visibility Select one or more countries, and then select whether to only show or to hide these menu items from the specified countries.
ChangeLog
1.0.0
1.0.1
- Changed the plugin to store user location is a session variable. This drastically increased page load speed by reducing calls to the database.
- Fixed problem with conflicting CSS from other plugins
1.0.2
- Changed plugin name from
Location Specific Menu Items by Country to Country Specific Menu Items. I was originally planning to add different types of locations (city, state, continent, etc.) to this plugin and then remove the by Country, but have decided instead to just create a completely new plugin for each type of location.
1.0.3
- Move list of countries into an array in a seperate file.
1.0.4
- Hunted down and replaced a ” with ” that is apparently no longer supported as of 4.7.4 – Yes, it actually broke the plugin.