-
AuthorPosts
-
July 21, 2020 at 6:35 pm #1232072
I need to add a podcast icon to social profiles and have it in the header and footer just as the others.
As there is no podcast or custom option in social profiles, please share how to add an extra one. The apple logo already included in Enfold.
Thanks.
July 23, 2020 at 6:31 pm #1232740Hey peterolle,
Here are the docs for you:
If you need further assistance please let us know.
Best regards,
VictoriaJuly 23, 2020 at 6:46 pm #1232747Thank you.
I add this:
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['icon_apple'] = array( 'font' =>'fontello', 'icon' => 'ue920'); 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['Apple Icon'] = 'icon_apple'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
I go to social profiles, add it and nothing shows up, just the space there, but no apple icon.
What am I missing?
Thanks.
July 23, 2020 at 6:52 pm #1232748Ok, your example code is incorrect, it has to be \ue920 with the \ at the beginning of the icon code.
The problem is that \ue920 is the code for the Apple icon, but it shows a pencil instead.
Why ?
July 23, 2020 at 6:58 pm #1232751Actually it does not matter how I add it, no icon shows up, just the link.
Please share how to do it exactly using the Apple Icon “\ue920”.
Thanks.
July 23, 2020 at 7:01 pm #1232752Hi,
Please use the code as following
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['icon_apple'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue920'); 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['Apple Icon'] = 'icon_apple'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.