nfsarmento
It turns out that the plugin you are using is not using shortcodes at all. Its using its own custom parser to parse the content and add or delete the content accordingly. Here’s some custom code I’ve written that will make turn its function into shortcode and you’ll be able to use it in the menus(You can put this code in theme’s functions.php or any custom plugin you’re having on your site):
add_shortcode('ip2', 'ip2_function');
function ip2_function($args, $content) {
if (isset($args['param'])) {
$param = $args['param'];
} else {
$param = 'IN';
}
if (class_exists('IP2LocationTags')) {
$ip2location_tags = new IP2LocationTags();
$ip2location_tags->init();
$content = $ip2location_tags->parse_widget('<ip:'.$param.'>'.$content.'</ip>');
}
return $content;
}
This will allow parsing of shortcodes in the format
[ip2 param=GB]020 7267 5222[/ip2]