Hi @saokimthanglong,
Hope you are doing good today ??
I added the related icons only into each section of the icons. But you can add any custom icon by using the filter. Just put the following snippet into your active theme functions.php file custom icon would show into Home icons list.
/*
* Adding custom Icon into the list
*/
function fl_home_icons_cb($icons){
/*
* Adding arrow-left icon to the list from fontawesome.
* Choose any icon from fontawesome list. Here you can find all icons->https://fontawesome.com/v4.7.0/icons/
* Use only name of the icon like "fa fa-arrow-left" would be only "arrow-left"
*/
$icons[] = 'arrow-left';
/*
* Returning back the icons list.
*/
return $icons;
}
/*
* Filter to add custom icon into home icons list.
*/
add_filter('fl_home_icons', 'fl_home_icons_cb');
Select that icon from floating links settings page->Design->Change Icons and Home Icon section.
Following are other filters to add any custom icon into any section.
- fl_left_icons
- fl_right_icons
- fl_random_icons
- fl_up_icons
- fl_down_icons
- fl_copy_url_icons
- fl_slimer_close_icon
- fl_slimer_open_icon
Thanks for using the plugin