'shapely_home_testimonial','description' => esc_html__( "Shapely Testimonial Widget Section" ,'shapely') );
parent::__construct('shapely_home_testimonial', esc_html__('[Shapely] Testimonial Section For FrontPage','shapely'), $widget_ops);
}
function widget($args , $instance) {
extract($args);
$title = isset($instance['title']) ? $instance['title'] : esc_html__('People just like you are already loving Colorlib', 'shapely');
$limit = isset($instance['limit']) ? $instance['limit'] : 5;
$image_src = isset($instance['image_src']) ? $instance['image_src'] : '';
if (post_type_exists( 'jetpack-testimonial' ) ) {
echo $before_widget;
/**
* Widget Content
*/
?>
'jetpack-testimonial',
'posts_per_page' => $limit,
'ignore_sticky_posts' => 1
);
$testimonial_query = new WP_Query($testimonial_args);
if ($testimonial_query->have_posts()) : ?>