*/ do_action('catcheverest_before_header_right'); ?> <?php global $catcheverest_options_settings; $options = $catcheverest_options_settings; if ($options['disable_header_right_sidebar'] == "0") { ?> <div id="header-right" class="widget-area"> <?php if (function_exists('catcheverest_social_networks')) { ?> <aside class="widget widget_catcheverest_social_widget"> <?php catcheverest_social_networks(); ?> </aside> <?php } ?> <aside class="widget widget_search" id="search-5"> <?php echo get_search_form(); ?> </aside> </div><!-- #header-right .widget-area --> <?php } /** * catcheverest_after_header_right hook hook
/** * 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; } catcheverest_social_networks(); echo $after_widget; }