'widget_testimonial', 'description' => __( 'Display Testimonial on FrontPage', 'arise' ) ); $control_ops = array( 'width' => 200, 'height' =>250 ); parent::__construct( false, $name = __( 'TF: FP Testimonial', 'arise' ), $widget_ops, $control_ops); } function form($instance) { $instance = wp_parse_args(( array ) $instance, array('number' => '3','post_type'=> 'latest','category' => '')); $number = absint( $instance[ 'number' ] ); $post_type = $instance[ 'post_type' ]; $category = $instance[ 'category' ]; ?>

' ','name' => $this->get_field_name( 'category' ), 'selected' => $category ) ); ?>

absint($number), 'post_type' => 'post', 'category__in' => esc_attr($category), 'ignore_sticky_posts' => true ) ); echo '' .$before_widget; ?>
have_posts() ):$get_featured_posts->the_post(); ?>
'; } }