-
-
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 ago by Akram.
-
Hi,
Please share website url, wp-admin and ftp info (login/ passwords) and send using “private reply” .Thanks,
-
-
-
Hi Azam,
amazing job !!!thank you so much for your help. I am very happy lol… lol..
have a great weekend.
Regards
-
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
-
You must be logged in to reply to this topic.