/** * Footer Social Icons * */ function catchevolution_footer_social() { global $catchevolution_options_settings; $options = $catchevolution_options_settings; if (!empty($options['disable_footer_social'])) { return catchevolution_social_networks(); } }
/** * Displays the Widget in the front-end. * * $args Display arguments including before_title, after_title, before_widget, and after_widget. * $instance The settings for the particular instance of the widget */ function widget( $args, $instance ) { extract( $args ); extract( $instance ); $title = !empty( $instance['title'] ) ? $instance[ 'title' ] : ''; echo $before_widget; if ( $title != '' ) { echo $before_title . apply_filters( 'widget_title', $title, $instance, $this->id_base ) . $after_title; } catchevolution_social_networks(); echo $after_widget; }