Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #290377

    WOuld it be possible to some how add a Yelp link at the top with the Facebook, Twitter and other links?

    Thanks.

    #290732

    Hey Micheal0424!

    Yes, this is possible but, sadly, I can’t find any yelp icon on http://fontello.com/. If you find the icon, you can do the following:

    Edit functions.php, find this code on line 16:

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

    Below, add this code:

    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['new-social-icon']	 = array( 'font' =>'fontello', 'icon' => 'ue970');
    return $icons;
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons['New Social Icon'] = 'new-social-icon';
    return $icons;
    }

    If that doesn’t work please download the font that you want on http://fontello.com/ then upload it via Enfold > Enfold > Import/Export panel > Iconfont Manager. Edit functions.php, find this code:

    'scrolltop' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue876'),
    

    Below, add this code:

    'new-social-icon' 	=> array( 'font' =>'fontello', 'icon' => 'ue802'),
    

    I used the checkmark from Font Awesome. Edit includes > admin > register-admin-options.php, find this code on line 971:

    'Youtube'   => 'youtube',
    

    Below, add this code:

    'New Social Icon'   => 'new-social-icon',
    

    You can now select the Slideshare social icon. You can do the same with yelp icons. Regarding the icon codes, you need to remove the plus sign. U+E802 should be converted to ue802. You can do the same with different social icons.

    Refer to this thread for more info: https://kriesi.at/support/topic/head-with-social-media-and-large-logo/

    Regards,
    Ismael

    #295569

    Thanks for the info, much appreciated!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Enfold Social Media Links at Top – Yelp?’ is closed to new replies.