• I am using this plugin to control the visibility of menu items based on the user location. As advised in one of the topics, I am using the plugin GeoIP Detect to find user location and then using the shortcode from this plugin into the visibility condition as below. I want to display the menu item only if user location is Australia.

    [geoip_detect2_show_if country=”AU”]

    But it does not like it and throws an error

    Visibility: syntax error, unexpected ‘country’ (T_STRING), expecting ‘]’

    Is there a different way to use these two plugins ?

  • The topic ‘working with geolocation IP Plugin to hide menu item by country’ is closed to new replies.