-
AuthorPosts
-
October 17, 2016 at 4:10 am #699755
Hey guys!
I’m aware of other threads on this as I’ve tried a bunch of variations in functions.php but I can’t get the yelp icon to display. Have in functions.php starting after if(isset($avia_config[‘use_child_theme_functions_only’])) return;
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘yelp’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Yelp’] = ‘yelp’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);I’ve imported the yelp fontella icon and right now on a check mark appears in it’s place.
Thanks!!
October 17, 2016 at 11:33 pm #700312Website URL attached
October 17, 2016 at 11:34 pm #700313Hi!
Can you please create a temporary admin login and post it here privately?
Regards,
YigitOctober 17, 2016 at 11:49 pm #700315Hey yup thank you it’s below!
October 18, 2016 at 12:06 am #700318Hi!
It does work totally fine on my end when i added your new icon in Enfold theme options.
Regards,
YigitOctober 18, 2016 at 12:09 am #700320Hey Yigit,
Thanks so much for looking into this but I just checked on three browsers and it shows a check mark rather than a yelp icon. Is the ue800 no longer accurate?
Thanks!
October 18, 2016 at 12:13 am #700321Hi!
It was a check mark on my end as well. I imported Yelp icon once again and adjusted the code a little. Please review your website now.
Cheers!
YigitOctober 18, 2016 at 12:34 am #700330Thanks so much, it works great!
Here is the functions.php code (towards the top of document for anyone who find the thread later:
—————————————————–
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘yelp’] = array( ‘font’ =>’yelp-icon’, ‘icon’ => ‘uf1e9’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Yelp’] = ‘yelp’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);——————————————–
Yelp icon CSS for hover:
#top #wrap_all .av-social-link-yelp:hover a {
background-color: red;
color: white;
}October 18, 2016 at 12:36 am #700332Hi!
Thank you for sharing your solution
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Regards,
Yigit -
AuthorPosts
- The topic ‘Enfold Yelp Social Profiles Icon’ is closed to new replies.