-
AuthorPosts
-
November 10, 2017 at 10:38 am #875093
Dear Enfold,
I have followed this http://kriesi.at/documentation/enfold/custom-social-icons/ as well as several relating posts to adding Trip Advisor to the theme, and add codes to my web as follows:
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘tripadvisoricon’] = 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’] = ‘tripadvisoricon’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);The link of Trip advisor is there, but the logo is not available even after hover.
Could you please help? My web is https;//huediscovery.com
Thanks,
HoangNovember 10, 2017 at 10:41 am #875094Sorry the web address is with wrong typing https://huediscovery.com
The trip advisor link is on the right of Flickr but trip advisor logo is just white blank space. When I click into the white blank space the link still works.
Thanks,
HoangNovember 11, 2017 at 11:24 pm #875612Hi,
Have you tried using ue800 as the icon?
Are you using a child theme?
Note 2: If you are not using a child theme, please find following line in Functions.php file of parent themeif(isset($avia_config['use_child_theme_functions_only'])) return;
and add your code right below that line.
If this doesn’t help, Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
MikeNovember 12, 2017 at 4:57 am #875644Hi Mike,
Thanks for your help.
I have tried to replace by ue800 too but this does not work. I don;t use child theme yet and did put the code under the line as indicated in the general instruction.
Please find admin and pass as below.
Thanks,
HoangNovember 12, 2017 at 2:06 pm #875739Hi,
I changed the code in your functions.php to this:// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['tripadvisor'] = array( 'font' =>'fontello', '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);
and then when to Enfold Theme Options > Social Profiles and re-picked Trip Advisor from the dropdown.
It now is working, Please clear site and browser cache, and check.
For the other members, here is the css needed for the background hover color:#top #wrap_all li.av-social-link-tripadvisor:hover a{ background: green; }
Best regards,
MikeNovember 13, 2017 at 12:38 am #875891Thank you very much for your great help, Mike.
Hoang -
AuthorPosts
- The topic ‘Trip advior logo deoes not appear’ is closed to new replies.