Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #617569

    Hi!
    In a precedant thread I achieve to add the Houzz icon. But since I made the update of the theme and WordPress and the changes on the file functions.php where modified.

    Now I tryied to add again the following code (explained in the precedant thread) to be able to add Houzz icon to my site but doesnt work:

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

    Where do I make the mistake? Where do I have to add this code in the functions.php file? Because I add it at the end and it didn’t work.

    Thank you!

    #617909

    Hi nicomad!

    Please try adding the code right below

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

    in functions.php file. If that does not help, please post the link to your website as well, you seem to forget to post it :)

    Cheers!
    Yigit

    #618570

    Hi Yigit,

    I added the code at the end of functions.php file but didn’t work. Sorry I forgot to post the link to my website. I post it in the private section. Thank you

    #618573

    Hi!

    I added the code to functions.php file once again. Please review your website now ;)

    Best regards,
    Yigit

    #618588

    Thank you. I saw you added at the begining. Now it works

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘HELP! Can't add Houzz icon to Enfold social profile options’ is closed to new replies.