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

    #1232740

    Hey peterolle,

    Here are the docs for you:

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1232747

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

    #1232748

    Ok, 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 ?

    #1232751

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

    #1232752

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.