-
AuthorPosts
-
September 27, 2019 at 6:35 am #1142578
Hi, how do I add customised icons to be shown in the copyright footer? I would like to add medium and telegram but I am unable to find the icons.
September 27, 2019 at 6:57 am #1142580these are the entypo-fontello icons Enfold uses. Is there an icon that fits your needs?
https://webers-testseite.de/enfold-entypo/September 27, 2019 at 10:44 am #1142659Hi geraldinetay27,
Please have a look at our docs on how to add custom icons and social share icons:
Best regards,
VictoriaSeptember 27, 2019 at 4:52 pm #1142815Hi Victoria,
1. I have downloaded and added Medium and Telegram Icon from Fontello.
2. I went to Enfold > ImportExport > Iconfont Manager > Uploaded the font I just downloaded (file name: fontello-384a3ec5 renamed to fontello-medium-and-telegram-icon.
3. Next, as per the tutorial (Social Share Buttons), I added the following codes to functions.php.// Register medium and telegram icon as a theme icon function avia_add_custom_icon($icons) { $icons['icon_name'] = array( 'font' =>'fontello', 'icon' => '0xf23a'); 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['Medium'] = 'icon_name'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
4. I can now select only Medium Icon in Social Profiles.
5. QN:
a. The Medium Icon is not showing up though.
b. How do I select telegram fontello icons to social icons?
c. How do I use the 2 newly added icons as a content in the widgets?- This reply was modified 5 years, 1 month ago by geraldinetay27.
September 29, 2019 at 8:17 pm #1143140Hi geraldinetay27,
You code should have both icons added like so:
// Register medium and telegram icon as a theme icon function avia_add_custom_icon($icons) { $icons['medium'] = array( 'font' =>'fontello', 'icon' => '0xf23a'); $icons['telegram'] = array( 'font' =>'fontello', 'icon' => 'telegram icon'); 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['Medium'] = 'medium'; $icons['Telegram'] = 'telegram'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
You need to add the icon code for the Telegram.
Best regards,
VictoriaSeptember 30, 2019 at 7:05 am #1143231Hi Victoria, I have followed your steps but medium and social icons are not showing up in the footer. Note that I have already set that Social Icons be showing up in the footer.
October 2, 2019 at 2:01 am #1144009Hi,
Thank you for the update.
We adjusted the character code of the icons in the filter.
$icons['medium'] = array( 'font'=>'fontello', 'icon' => 'uf23a'); $icons['telegram'] = array( 'font'=>'fontello', 'icon' => 'uf2c6');
They display properly now.
Best regards,
IsmaelOctober 2, 2019 at 4:52 am #1144038Hi Ismael,
It works now. Thank you so much! =)October 3, 2019 at 3:51 am #1144327Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardOctober 3, 2019 at 8:44 am #1144385Hi Rikard,
I got it working now and you can close this topic :)October 3, 2019 at 4:34 pm #1144537Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Add Medium and Telegram to Social Profiles’ is closed to new replies.