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

    Hi,
    We would like to have in the footer or header the Tripadvisor, and a link to our reviews page, as the rest of our social media networks.

    Is that possible? How can we do that?

    Thanks,
    Dani,

    #854528

    Hi Dani,

    Please refer to this post – http://kriesi.at/documentation/enfold/custom-social-icons/

    Cheers!
    Yigit

    #854660

    Hi,
    Thanks for your answer Yigit.
    I’ve tried to follow the steps but I did not succeed.
    That’s what I did:
    1.-Went to \wp-content\themes\enfold\functions.php and add, just below
    “if(isset($avia_config[‘use_child_theme_functions_only’])) return;” the next code

    function avia_add_custom_social_icon($icons) {
    $icons[‘Tripadvisor’] = ‘tripadvisor’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    (Basically just changed Kriesi by Tripadvisor to help understanding in the future.)

    2.- Went to Enfold->General Styles-> Quick CSS and added the rest of the code:

    #top #wrap_all .av-social-link-kriesi a:before{
    content: “”;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background: url(http://kidnappedinbcn.hl345.dinaserver.com/wp-content/uploads/2017/09/TripAdvisor-logo.png) no-repeat center center;
    background-size: contain;
    }

    After this our website does not show anything new on our footer.
    What am I doing wrong?
    Thanks!

    #854668

    Following my previous post:
    I tried to use fontello fonts and I got the option two choose Tripadvisor in the list of social media networsks.
    However no Icon is displayed next to the others.
    Basically I just changed from the reference code “icon-name” to “tripadvisor” as I saw this was the name for that icon.
    Here I attach the complete code:

    function avia_add_custom_icon($icons) {
    $icons[‘tripadvisor’] = 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[‘Tripadvisor’] = ‘tripadvisor’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    Thanks again,
    Dani.

    #854753

    Hi Dani,

    Have you tried adding new social network link in Enfold theme options > Social Profiles? If you have, please create a temporary admin login and post it here privately so we can look into it.

    Best regards,
    Yigit

    #854806

    Yes, that’s what we did.
    And as you will see we got the option to add Tripadvisor Icon, but nothing is displayed.
    We added the Fontello Icon following the steps on the video.

    #854813

    Hi,

    I went to Enfold theme options, switched language to English, added social link and custom CSS code in English version. Please review your website :)

    Best regards,
    Yigit

    #854837

    Hei!
    It worked fine! I’ve just changed the icon to match the style.
    Now I will try to set the hoover effect.

    Thanks for your help,
    Dani.

    #854845

    Hi,

    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 :)

    Best regards,
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Tripadvisor as social network icon’ is closed to new replies.