 <div class=" bgimgload">	
					<div class="row blog-messonary">
						<?php
							while($posts->have_posts()):$posts->the_post();
						?>

							<div class="witr_nth_child col-lg-<?php if( !empty( $witrshowdata['witr_column_grid'] ) ){echo $witrshowdata['witr_column_grid'];}?>  col-md-6 col-sm-8 grid-item   <?php echo $witr_gutter_column; ?>">
								<div class="blog-part all_blog_color">
									<div class="blog_part_inner">
										<div class="witr_blog_imags">
											<!-- image -->
											<?php if(has_post_thumbnail()){?>
												<div class="blog-img">
													<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail('poket-blog-default'); ?> </a>
												</div>
											<?php } ?>
										</div>
										<div class="wblog-content blog-content-2 all_blog_color">
										<!--  post meta -->
										<?php
											foreach ( $witrshowdata['witr_post_meta'] as $element ) {	
													if( $element=="aa"){?>
														<span><i class="icofont-tags"></i><?php the_category(', ');?></span>
													<?php }?>											
													<?php if( $element=="a"){?>
														<span><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>"><i class="icofont-user-male"></i> <?php the_author(); ?> </a></span>
													<?php }?>
													<?php if( $element=="d"){?>
														<span><a href="#"><i class="icofont-ui-clock"></i></a> <?php the_time(esc_html__('d M Y','poket')); ?></span>
													<?php }?>
													<?php if( $element=="c"){?>
														<span>
														<?php if ( comments_open() || get_comments_number() ) {?>
															<a href="<?php comments_link(); ?>"><i class="icofont-comment"></i>
																<?php comments_number( esc_html__('0','poket'), esc_html__('1 ','poket'), esc_html__('% ','poket') );?>
															</a>						
														<?php }else{?>
															<span><i class="icofont-comment"></i><?php echo esc_html__('Comments Off','poket'); ?></span>
															<span><i class="icofont-comment"></i><?php echo esc_html__('Comments Off','poket'); ?></span>
														<?php } ?>														
														
														
														</span>
													<?php }?>
													
											<?php }	?>								
											<!-- title -->
											<h5>
												<a href="<?php the_permalink(); ?>">
													<?php echo wp_trim_words( get_the_title(), $witr_title_length, '' );?>
												</a>
											</h5>
											<!-- content -->
											<?php if(! empty( $witrshowdata['witr_show_content'] )){?>
												<?php echo '<p>'.wp_trim_words( get_the_content(), $witr_content_length, '' ).'</p>';?>
											<?php } ?>											
											<?php if(! empty( $witrshowdata['witr_blog_button'] )){?>
												  <a class="btn2" href="<?php the_permalink(); ?>"><?php echo $witrshowdata['witr_blog_button']; ?></a>
											<?php } ?>
										  
										</div>
									</div>
								</div><!-- blog part -->
							</div>
						<?php endwhile;
						 wp_reset_query(); wp_reset_postdata();
						?>
					</div>
                </div>