Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

How to add TripAdvisor icon

Topic Resolution: Resolved
TripAdvisor icon
    • 4 years, 8 months ago alander
      Participant

      Hi,

      Please, I need to add TripAdvisor icon in the social widget for footer. I have added some code to add the option for the social widget, it works, but it does not show me TripAdvisor icon, it shows another icon. How can I change this ?

      I have changed just codeless_socialwidget.php to try. I am not good enough to do that, sorry.

      I am using Picante theme, my web is https://pizzeriaangelo.restaurant , on the footer you can see on social media the last icon, I need just change it for tripAdvisor icon and I do not know how to change this. If you can help with any information, I really appreciate you for your help and time.

      This is my code lines I have added.

      $tripadvisor = empty($instance[‘tripadvisor’]) ? ” : $instance[‘tripadvisor’];

      if( !empty($tripadvisor) )
      echo ‘<li class=”foursquare”><i class=”cl-icon-tripadvisor”></i>‘;

      $instance[‘tripadvisor’] = $new_instance[‘tripadvisor’];

      $instance = wp_parse_args( (array) $instance, array( ‘title’ => ”, ‘style’ => ”, ‘facebook’ => ”, ‘twitter’ => ”, ‘google_plus’ => ”, ‘behance’ => ”, ‘instagram’ => ”, ’email’ => ”, ‘youtube’ => ”, ‘soundcloud’ => ”, ‘vimeo’ => ”, ‘tumblr’ => ”, ‘vk’ => ”, ‘pinterest’ => ”, ‘skype’ => ”, ‘linkedin’ => ”, ‘tripadvisor’ => ” ) );

      $tripadvisor = !isset($instance[‘tripadvisor’]) ? ” : $instance[‘tripadvisor’];

      <p>

      <label for=”<?php echo esc_attr( $this->get_field_id(‘tripadvisor’) ); ?>”><?php esc_html_e( ‘tripadvisor’, ‘picante’ ) ?>:

      <input id=”<?php echo esc_attr( $this->get_field_id(‘tripadvisor’) ); ?>” name=”<?php echo esc_attr( $this->get_field_name(‘tripadvisor’)); ?>” type=”text” value=”<?php echo esc_attr($tripadvisor); ?>” /></label>

      </p>

      • This topic was modified 4 years, 8 months ago by Akram.
    • 4 years, 7 months ago azam
      Keymaster

      Hi,
      Please share website url, wp-admin and ftp info (login/ passwords) and send using “private reply” .

      Thanks,

    • 4 years, 7 months ago alander
      Participant
      This reply has been marked as private.
    • 4 years, 7 months ago azam
      Keymaster

      Hi,
      Please check and let me know.

      Thanks,

    • 4 years, 7 months ago alander
      Participant

      Hi Azam,
      amazing job !!!

      thank you so much for your help. I am very happy lol… lol..

      have a great weekend.

      Regards

    • 4 years, 7 months ago azam
      Keymaster

      You’re welcome :)

      If you like our theme and support, leave us a 5 star ratings on Themeforest, it’s very important for us :)

      https://themeforest.net/downloads

      Thank You so much

Viewing 5 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password