id_base ) . $after_title;
}
else {
echo '';
}
if ( '' != $adcode ) {
echo $adcode;
}
else {
echo '';
}
echo $after_widget;
}
}
/**
* Makes a custom Widget for Displaying Ads
*
* Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets
*
* @package Catch Evolution
*/
class catchevolution_social_search_widget extends WP_Widget {
/**
* Register widget with WordPress.
*/
function __construct() {
parent::__construct(
'widget_catchevolution_social_widget', // Base ID
__( 'CT: Social-Search Widget', 'catch-evolution' ), // Name
array( 'description' => __( 'Use this widget to add Social Icons from Social Icons Settings & Search as a widget.', 'catch-evolution' ) ) // Args
);
}
/**
* Creates the form for the widget in the back-end which includes the Title , adcode, image, alt
* $instance Current settings
*/
function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
$title = esc_attr( $instance[ 'title' ] );
?>
id_base ) . $after_title;
}
catchevolution_social_networks();
echo $after_widget;
}
}
/**
* Makes a custom Widget for Displaying Ads
*
* Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets
*
* @package Catch Evolution
*/
class catchevolution_social_widget extends WP_Widget {
/**
* Register widget with WordPress.
*/
function __construct() {
parent::__construct(
'widget_catchevolution_social_search_widget', // Base ID
__( 'CT: Social Widget', 'catch-evolution' ), // Name
array( 'description' => __( 'Use this widget to add Social Icons from Social Icons Settings & Search as a widget.', 'catch-evolution' ) ) // Args
);
}
/**
* Creates the form for the widget in the back-end which includes the Title , adcode, image, alt
* $instance Current settings
*/
function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
$title = esc_attr( $instance[ 'title' ] );
?>