-
AuthorPosts
-
January 17, 2017 at 12:37 am #734407
hi,
I’m having some trouble adding a yelp icon my theme. I’m following this thread http://kriesi.at/documentation/enfold/custom-social-icons/
I added this code using the snippet widget to the functions.php but I get an error. I’m not using a child theme.
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['yelp'] = array( 'font' =>'fontello', '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);January 17, 2017 at 1:52 am #734423Hey mcraig77!
Can you please post FTP and WP admin logins here privately?
Cheers!
YigitJanuary 17, 2017 at 6:18 am #734480wordpress login below, no ftp access at the moment. Let me know if just that will work!
January 17, 2017 at 8:18 am #734545Hey!
Your code had a type, please try again
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['yelp'] = array( 'font' =>'fontello', '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);Let us know if that works out
Best regards,
BasilisFebruary 2, 2017 at 11:18 pm #742077Thanks!
February 3, 2017 at 8:04 am #742218Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Adding A yelp icon’ is closed to new replies.
