Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #699755

    Hey guys!

    I’m aware of other threads on this as I’ve tried a bunch of variations in functions.php but I can’t get the yelp icon to display. Have in functions.php starting after if(isset($avia_config[‘use_child_theme_functions_only’])) return;

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

    I’ve imported the yelp fontella icon and right now on a check mark appears in it’s place.

    Thanks!!

    #700312

    Website URL attached

    #700313

    Hi!

    Can you please create a temporary admin login and post it here privately?

    Regards,
    Yigit

    #700315

    Hey yup thank you it’s below!

    #700318

    Hi!

    It does work totally fine on my end when i added your new icon in Enfold theme options.

    Regards,
    Yigit

    #700320

    Hey Yigit,

    Thanks so much for looking into this but I just checked on three browsers and it shows a check mark rather than a yelp icon. Is the ue800 no longer accurate?

    Thanks!

    #700321

    Hi!

    It was a check mark on my end as well. I imported Yelp icon once again and adjusted the code a little. Please review your website now.

    Cheers!
    Yigit

    #700330

    Thanks so much, it works great!

    Here is the functions.php code (towards the top of document for anyone who find the thread later:

    —————————————————–

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

    ——————————————–

    Yelp icon CSS for hover:

    #top #wrap_all .av-social-link-yelp:hover a {
    background-color: red;
    color: white;
    }

    #700332

    Hi!

    Thank you for sharing your solution

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Enfold Yelp Social Profiles Icon’ is closed to new replies.