__( 'Sidebar Column Top', 'oenology' ), 'id' => 'sidebar-column-top', 'description' => __( 'Top, full-width sidebar in two-column layout', 'oenology' ) ), oenology_get_widget_args() ) ); register_sidebar( array_merge( array( // Left Column widget area 'name' => __( 'Sidebar Left', 'oenology' ), 'id' => 'sidebar-left', 'description' => __( 'Left-column, half-width sidebar in three-column layout' , 'oenology' ) ), oenology_get_widget_args() ) ); register_sidebar( array_merge( array( // Right Column widget area 'name' => __( 'Sidebar Right', 'oenology' ), 'id' => 'sidebar-right', 'description' => __( 'Right-column, half-width sidebar in three-column layout', 'oenology' ) ), oenology_get_widget_args() ) ); register_sidebar( array_merge( array( // Bottom full-width widget area 'name' => __( 'Sidebar Column Bottom', 'oenology' ), 'id' => 'sidebar-column-bottom', 'description' => __( 'Bottom, full-width sidebar in two-column layout', 'oenology' ) ), oenology_get_widget_args() ) ); register_sidebar( array_merge( array( // Widget area beneath each Post content 'name' => __( 'Post Entry Below', 'oenology' ), 'id' => 'post-entry-below', 'description' => __( 'Beneath Post content, before Post footer', 'oenology' ) ), oenology_get_widget_args() ) ); register_sidebar( array_merge( array( // Widget area below each Post 'name' => __( 'Post Below', 'oenology' ), 'id' => 'post-below', 'description' => __( 'Beneath Post', 'oenology' ) ), oenology_get_widget_args() ) ); } // function oenology_widget_setup() /** * Define Categories Custom Widget * * @uses oenology_get_custom_category_list() Defined in /functions/custom.php * * @since WordPress 2.8 */ class oenology_widget_categories extends WP_Widget { function oenology_widget_categories() { $widget_ops = array('classname' => 'oenology-widget-categories', 'description' => __( 'Oenology theme widget to display the category list in the left column', 'oenology' ) ); $this->WP_Widget('oenology_categories', __( 'Oenology Categories', 'oenology' ), $widget_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? __( 'Oenology Categories', 'oenology' ) : $instance['title']); echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; ?> '' ) ); $title = strip_tags($instance['title']); ?>

'oenology-widget-tags', 'description' => __( 'Oenology theme widget to display the tag list in the left column', 'oenology' ) ); $this->WP_Widget('oenology_tags', __( 'Oenology Tags', 'oenology' ), $widget_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? __( 'Oenology Tags', 'oenology' ) : $instance['title']); echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; ?> '' ) ); $title = strip_tags($instance['title']); ?>

'oenology-widget-post-formats', 'description' => __( 'Oenology theme widget to display the Post Format list in the left column', 'oenology' ) ); $this->WP_Widget('oenology_post_formats', __( 'Oenology Post Formats', 'oenology' ), $widget_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? __( 'Oenology Post Formats', 'oenology' ) : $instance['title']); echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; ?> '' ) ); $title = strip_tags($instance['title']); ?>

'oenology-widget-social-icons', 'description' => __( 'Oenology theme widget to display social network icons', 'oenology' ) ); $this->WP_Widget('oenology_social_icons', __( 'Oenology Social Icons', 'oenology' ), $widget_ops); } function widget( $args, $instance ) { extract($args); $title = apply_filters('widget_title', empty($instance['title']) ? __( 'Social Networks', 'oenology' ) : $instance['title']); echo $before_widget; if ( $title ) echo $before_title . $title . $after_title; ?> '' ) ); $title = strip_tags($instance['title']); ?>