Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #602407

    my icons show up in layout-editor – icons, but i can’t select them in social icons dropdown menu.

    i added this code to the very end of functions.php

    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['icon1']	 = array( 'font' =>'fontello', 'icon' => 'ue800');
    $icons['icon2']	 = array( 'font' =>'fontello', 'icon' => 'ue802');
    return $icons;
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons['Icon1'] = 'icon1';
    $icons['Icon2'] = 'icon2';
    return $icons;
    #603709

    Hey patneu!

    I moved your code right below

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    in functions.php file. Please review your website now

    Best regards,
    Yigit

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