Menu title not visible even if Insert hyperlink descriptions ("title" attribute) into hyperlink texts. (Default: disabled) option is checked in superfish menu configuration
Menu title not visible even if Insert hyperlink descriptions ("title" attribute) into hyperlink texts. (Default: disabled) option is checked in superfish menu configuration
When we place the superfish menu block in block structure for particular region we have to set some configurations in that we have checkbox option to show menu title as- Insert hyperlink descriptions ("title" attribute) into hyperlink texts. (Default: disabled) if we checked this option it should display the menu title.
There are code available for hiding menu title as // Hiding link descriptions (the "title" attribute). if ($settings['hide_linkdescription']) {
$item['options']['attributes']['title'] = '';
}
same we have to add for displaying menu title using $settings variable
if ($settings['add_linkdescription']) {
$item['options']['attributes']['title'] = $item['text'];
}
so it will add menu title if checkbox is checked in configuration .