Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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.

    #1142580

    these are the entypo-fontello icons Enfold uses. Is there an icon that fits your needs?
    https://webers-testseite.de/enfold-entypo/

    #1142659

    Hi geraldinetay27,

    Please have a look at our docs on how to add custom icons and social share icons:

    Best regards,
    Victoria

    #1142815

    Hi 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?

    #1143140

    Hi 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,
    Victoria

    #1143231

    Hi 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.

    #1144009

    Hi,

    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,
    Ismael

    #1144038

    Hi Ismael,
    It works now. Thank you so much! =)

    #1144327

    Hi,

    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,
    Rikard

    #1144385

    Hi Rikard,
    I got it working now and you can close this topic :)

    #1144537

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Add Medium and Telegram to Social Profiles’ is closed to new replies.