'bizzboss_heading_title', 'description' => __('Title For all Sections', 'bizzboss'), ); parent::__construct( 'bizzboss_heading_title', 'Heading Title', $widget_ops ); } /** * @param array $args * @param array $instance */ public function widget( $args, $instance ) { echo $args['before_widget']; ?>

'bizzboss_key_features', 'description' => __('Key Features Section', 'bizzboss') ); parent::__construct( 'bizzboss_key_features', 'Key Features', $widget_ops ); } /** * @param array $args * @param array $instance */ public function widget( $args, $instance ) { echo $args['before_widget']; ?>

'bizzboss_latest_post', 'description' => __('Latest Post Section For Home','bizzboss') ); parent::__construct( 'bizzboss_latest_post', 'Latest Post', $widget_ops ); } /** * @param array $args * @param array $instance */ public function widget( $args, $instance ) { echo $args['before_widget']; ?>
have_posts() ) : while($pq->have_posts()) : $pq->the_post(); $url = esc_url_raw(wp_get_attachment_url( get_post_thumbnail_id( $pq->ID )) ); $excerpt = get_the_excerpt(); $categories = get_the_category(); $cat_name = $categories[0]->cat_name; $cat = $instance['category']; if(has_category($cat)) { ?>

'bizzboss_latest_post_slide', 'description' => __('Latest Post Slider Section For Home', 'bizzboss'), ); parent::__construct( 'bizzboss_latest_post_slide', 'Latest Post Slider', $widget_ops ); } /** * @param array $args * @param array $instance */ public function widget( $args, $instance ) { echo $args['before_widget']; ?>

'bizzboss_call_to_action', 'description' => __('Call To Action Widget', 'bizzboss') ); parent::__construct( 'bizzboss_call_to_action', 'Call To Action', $widget_ops ); } /** * @param array $args * @param array $instance */ public function widget( $args, $instance ) { echo $args['before_widget']; ?>