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

Social widget in footer sidebar dissapeared after updating the theme

    • 6 years ago GIPmedia
      Participant

      Expired

      hello,

       

      after yr last update – we have no icons in social widget in footer sidebar -style simple

      (if we change in style circle we have only white circles)

      awaiting for yr solutions.

      PROBLEM

       

    • 6 years ago Ruco
      Keymaster

      Hello,

      I have just tested on my local version and everything looks ok. Please have you checked the widget if it set on the Apperances > Widgets > Copyright Footer Sidebar.

      Also you can change the style of the Social Icons into WordPress Dashboard > Tower > Footer Styling > Social Icons Circle BG and Circle background color.

      Let me know if this have resolved your issue.

      Have a nice day :).

      • 6 years ago GIPmedia
        Participant

        Expired

        This reply has been marked as private.
    • 6 years ago Ruco
      Keymaster

      Hello,

      Please can you make a check, try to activate the original theme instead of the child theme.

      Let us know.

      Regards!

    • 5 years, 12 months ago GIPmedia
      Participant

      Expired

      Hello,

      We used and the original theme

      we removed all the additional  css

      unfortunately the same result no icons –

    • 5 years, 12 months ago Ludjon
      Keymaster

      This probably a bug from the last update, added on update list.

      Can you please send me credentials so I can fix directly on your site?

      Thanks

    • 5 years, 12 months ago GIPmedia
      Participant

      Expired

      This reply has been marked as private.
    • 5 years, 12 months ago Ludjon
      Keymaster

      We are still working to a better solution, for now please update this file: includes/widgets/codeless_socialwidget.php

      replace with:

      <?php 
      
      class CodelessSocialWidget extends WP_Widget{
      
          function __construct(){
      
              $options = array('classname' => 'social_widget', 'description' => 'Add a social widget' );
      
              parent::__construct( 'social_widget', THEMENAME.' Social Widget', $options );
      
          }
      
          function widget($atts, $instance){
      
              extract($atts, EXTR_SKIP);
      
              global $cl_redata;
      
              echo codeless_complex_esc($before_widget);
      
              
      
              $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
      
              $text = empty($instance['text']) ? '' : $instance['text'];
      
              $style = empty($instance['style']) ? '' : $instance['style'];
              
      
              
              if(!empty($title))
                  echo codeless_complex_esc($before_title) . $title . $after_title;
           
      
              echo '<ul class="footer_social_icons '.esc_attr($style).'">';
                  
                  if( !empty($cl_redata['facebook']) )
                     echo '<li class="facebook"><a href="'.esc_url($cl_redata['facebook']).'" target="_blank"><i class="fa-facebook fa"></i></a></li>';
                  if( !empty($cl_redata['twitter']) )
                      echo '<li class="twitter"><a href="'.esc_url($cl_redata['twitter']).'" target="_blank"><i class="fa-twitter fa"></i></a></li>';
                  if( !empty($cl_redata['flickr']) )
                      echo '<li class="flickr"><a href="'.esc_url($cl_redata['flickr']).'" target="_blank"><i class="fa-flickr fa"></i></a></li>';
                  if( !empty($cl_redata['google']) )
                      echo '<li class="google"><a href="'.esc_url($cl_redata['google']).'" target="_blank"><i class="fa-google fa"></i></a></li>';
                  if( !empty($cl_redata['dribbble']) )
                      echo '<li class="dribbble"><a href="'.esc_url($cl_redata['dribbble']).'" target="_blank"><i class="fa-dribbble fa"></i></a></li>';
                  if( !empty($cl_redata['foursquare']) )
                      echo '<li class="foursquare"><a href="'.esc_url($cl_redata['foursquare']).'" target="_blank"><i class="fa-foursquare fa"></i></a></li>';
                  if( !empty($cl_redata['linkedin']) )
                      echo '<li class="foursquare"><a href="'.esc_url($cl_redata['linkedin']).'" target="_blank"><i class="fa-linkedin fa"></i></a></li>';
                  if( !empty($cl_redata['pinterest']) )
                      echo '<li class="pinterest"><a href="'.esc_url($cl_redata['pinterest']).'" target="_blank"><i class="fa-pinterest fa"></i></a></li>';
                  if( !empty($cl_redata['youtube']) )
                      echo '<li class="youtube"><a href="'.esc_url($cl_redata['youtube']).'" target="_blank"><i class="fa-youtube fa"></i></a></li>';
                  if( !empty($cl_redata['email']) )
                      echo '<li class="email"><a href="'.esc_url($cl_redata['email']).'" target="_blank"><i class="fa-envelope fa"></i></a></li>';
                  if( !empty($cl_redata['instagram']) )
                      echo '<li class="email"><a href="'.esc_url($cl_redata['instagram']).'" target="_blank"><i class="fa-instagram fa"></i></a></li>';
      
              echo '</ul>';
      
              echo codeless_complex_esc($after_widget);
      
          }
      
          function update($new_instance, $old_instance){
      
              $instance = array();
      
              $instance['title'] = $new_instance['title'];
      
              $instance['text'] = $new_instance['text'];
      
              $instance['style'] = $new_instance['style'];
      
              return $instance;
      
          }
      
          function form($instance){
      
              $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'text' => '', 'style' => '') );
      
              $title = isset($instance['title']) ? $instance['title']: "";
      
              $text = isset($instance['text']) ? $instance['text']: "";
      
              $style = isset($instance['style']) ? $instance['style']: "";
      
              ?>
      
              <p>
      
                  <label for="<?php echo esc_attr($this->get_field_id('title')); ?>">Title: 
      
                  <input id="<?php echo esc_attr($this->get_field_id('title')); ?>" name="<?php echo esc_attr($this->get_field_name('title')); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label>
      
              </p>
      
              <p>
      
                  <label for="<?php echo esc_attr($this->get_field_id('text')); ?>">Text: 
      
                  <textarea id="<?php echo esc_attr($this->get_field_id('text')); ?>" name="<?php echo esc_attr($this->get_field_name('text')); ?>" ><?php echo esc_attr($text); ?></textarea>
      
              </p>
      
              <p>
      
                  <label for="<?php echo esc_attr($this->get_field_id('style')); ?>">Style: 
      
                  <select id="<?php echo esc_attr($this->get_field_id('style')); ?>" name="<?php echo esc_attr($this->get_field_name('style')); ?>" value="<?php echo esc_attr($style); ?>">
                      <?php $values = array('Simple', 'Circle'); ?>
                      <?php foreach($values as $v): ?>
                          <?php $selected = ''; if(strtolower($v) == esc_attr($style) ) $selected = 'selected="selected"'; ?>
                          <option value="<?php echo strtolower($v) ?>" <?php echo codeless_complex_esc($selected) ?> ><?php echo codeless_complex_esc($v) ?></option>
                      <?php endforeach; ?>
                  </select>
      
              </p>
      
              <?php
      
          }
      
      }
      ?>
      

      Let me know
      Thanks

    • 5 years, 12 months ago GIPmedia
      Participant

      Expired

      OK noted

      Thanks

    • 5 years, 12 months ago Ludjon
      Keymaster

      You’re welcome!

      If you like our theme and support please leave us a review on themeforest, it’s important for us

      Thanks

Viewing 8 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