Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #585033

    Ahoy –

    Anyway I can add an Amazon icon to the header social icon?

    #585061

    Hey mcraig77!

    Please refer to this post – http://kriesi.at/documentation/enfold/custom-social-icons/

    Cheers!
    Yigit

    #585097

    Ahoy –

    I tired that but I get a pencil icon…not amazon

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘icon_name’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue924’);
    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[‘Amazon’] = ‘icon_amazon’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    #585099

    Hi!

    If you do not mind creating a temporary admin login and posting it here privately, we can fix it for you.

    Cheers!
    Yigit

    #585100

    Here ya go.. im using the code snipped plug for the php

    #585105

    Hi!

    I changed the code to following one

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['amazon']	 = array( 'font' =>'fontello', 'icon' => 'ue800');
    	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['Amazon'] = 'amazon';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Please review your website now

    Best regards,
    Yigit

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