__( 'Main Sidebar', 'adventurous' ), 'id' => 'sidebar-1', 'description' => __( 'Shows the Widgets at the side of Content', 'adventurous' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); //Footer One Sidebar register_sidebar( array( 'name' => __( 'Footer Area One', 'adventurous' ), 'id' => 'sidebar-2', 'description' => __( 'An optional widget area for your site footer', 'adventurous' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); //Footer Two Sidebar register_sidebar( array( 'name' => __( 'Footer Area Two', 'adventurous' ), 'id' => 'sidebar-3', 'description' => __( 'An optional widget area for your site footer', 'adventurous' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); //Footer Three Sidebar register_sidebar( array( 'name' => __( 'Footer Area Three', 'adventurous' ), 'id' => 'sidebar-4', 'description' => __( 'An optional widget area for your site footer', 'adventurous' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); //Footer Four Sidebar register_sidebar( array( 'name' => __( 'Footer Area Four', 'adventurous' ), 'id' => 'sidebar-5', 'description' => __( 'An optional widget area for your site footer', 'adventurous' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'adventurous_widgets_init' ); /** * Makes a custom Widget for Displaying Social Icons * * Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets * * @package Catch Themes * @subpackage Adventurous * @since Adventurous 1.0 */ class adventurous_social_widget extends WP_Widget { /** * Constructor * * @return void **/ function adventurous_social_widget() { $widget_ops = array( 'classname' => 'widget_adventurous_social_widget', 'description' => __( 'Use this widget to add Social Icons from Social Icons Settings as a widget. ', 'adventurous' ) ); $this->WP_Widget( 'widget_adventurous_social_widget', __( '1. Adventurous: Social', 'adventurous' ), $widget_ops ); $this->alt_option_name = 'widget_adventurous_social_widget'; } /** * 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; } adventurous_social_networks(); echo $after_widget; } }