Hi Shamim,
I would like to assign a special icon to each of the buttons in the fep_menu. I tried assigning a new class to the buttons using the ‘fep_menu_buttons’ filter, just to realise that fep-button and fep-button-active classes where rather important, so I tried defining an ID to the buttons using the same filer, however, it doesn’t work, probably because ID is not defined in the parent array.
Do you have any suggestions on how I can achieve to style each button differently?
Thank you
The following code is not working
add_filter( 'fep_menu_buttons', 'fep_cus_fep_menu_buttons', 99 );
function fep_cus_fep_menu_buttons( $menu )
{
$menu['newmessage'] = array(
'id' => 'button_newmessage'
);
$menu['messagebox'] = array(
'id' => ' button _messagebox'
);
$menu['settings'] = array(
'id' => ' button _settings'
);
$menu['announcements'] = array(
'id' => ' button _announcements'
);
$menu['directory'] = array(
'id' => ' button _directory'
);
return $menu;
}