Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #673802

    I have found a few threads and documents regarding this question but nothing seems to solve my problem. I am trying to add a TripAdvisor icon to the header/footer of my Enfold GYM theme alongside the others. I imported the Fontello zip and attempted to add the necessary code in my child theme functions file. No luck. Can you PLEASE login and assist as I have a big client demo tomorrow? Please let me know your steps as well, so I can add others if needed. I will need control over hover bg color as well. Thanks in advance!

    TripAdvisor Icon:
    http://fontello.com/#search=tripadvisor

    #674852

    Hi there, just checking in. Is this something you can assist me with?

    #675147

    Hi,

    Check your site. Here’s the code i used:

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

    Reference:

    Best regards,
    Josue

    #676428

    Very much appreciated, Josue!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding New Options to Social Profiles’ is closed to new replies.