Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #515417
    #516127

    Hi ghrahams,

    Sorry for the late reply. Your site is not loading on my end, did you move or remove it?

    Regards,
    Rikard

    #516131

    crap, I wrote the wrong url, here it is:

    #516783

    Hi!

    Replace entypo-fontello with fontello:

    //custom social icons
    
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['Spotify'] = array( 'font' =>'fontello', 'icon' => 'ue401');
    $icons['reverbnation'] = array( 'font' =>'fontello', 'icon' => 'ue402');
    $icons['itunes'] = array( 'font' =>'fontello', 'icon' => 'ue403');
    $icons['cdbaby'] = array( 'font' =>'fontello', 'icon' => 'ue404');
    $icons['indieonthemove'] = array( 'font' =>'fontello', 'icon' => 'ue405');
    
    return $icons;
    }

    If it’s not working, try to move the code below line 17 of functions.php file.

    Best regards,
    Ismael

    #516847

    Thanks for the reply –
    Those didn’t seem to work, I’m not sure what else to do. The icons are appearing fine in the backend under icons – however when it comes to using them in the social car it just displays the pencil icon as a default for all of them…

    #517803

    Hi!

    I checked the site and it’s working. The spotify and the other icons are rendering properly. Please remove browser cache.

    Best regards,
    Ismael

    #518600

    Thanks for looking into it – there are still a few errors with it though. Two of the icons still return the pencil icon – only in the social bar. Additionally the custom icons don’t have the same default hover funciton – instead of a background color change on hover they have a font-color change. Is there anyway to fix these two issues?

    #519013

    Hi!

    Please remove the modification in the register-admin-options.php file then add this code in the functions.php file:

    function avia_add_custom_social_icon($icons) {
    	$icons['Spotfiy'] = 'spotify';
    	$icons['Reverbnation'] = 'reverbnation';
    	$icons['Itunes'] = 'itunes';
    	$icons['CDBaby'] = 'cdbaby';
    	$icons['Indie on the Go'] = 'indieonthego';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Place it below the previous code or below line 17.

    Cheers!
    Ismael

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