سلام و وقت بخیر
وقتی از دستور زیر استفاده میکنم فقط یک پست رو نمایش میده در واقع اخرین پستی که منتشر شده رونمایش میده و بقیه پستهای قدیمی نمایش داده نمیشوند لطفا راهنمایی بفرمایید
<div class="container"> <div class="row"> <!-- Cource Grid 1 --> <?php if(have_posts()): ?> <?php while (have_posts()) : the_post();?>
<div class="col-lg-4 col-md-6"> <div class="education_block_grid"> <div class="education_block_thumb"> <a href="course-detail.html"> <?php echo dwt_post_thumbnail();?> </a> <div class="topic_level bg-warning text-white"><?php echo get_the_category_by_ID(get_post_meta(get_the_ID(),'_dwt_post_cat',true));?></div> </div> <div class="education_block_body"> <h4 class="bl-title"><a href="<?php the_permalink();?>"><?php echo get_the_title();?></a></h4> <p><?php echo PostExcerpt::excerpt_limit();?></p> </div> <div class="education_block_footer"> <div class="education_block_author"> <div class="path-img"><a href="instructor-detail.html"> <?php echo get_avatar(get_the_author_meta('user_email'),38);?> </a></div> <h5><a href="instructor-detail.html"><?php echo get_the_author();?></a></h5> </div> <span class="education_block_time">
</span> </div> </div> </div> <?php endwhile;?> <?php else:?> <div class="alert alert-info">مطلبی برای نمایش پیدا نشد !!</div> <?php endif;?> <?php wp_reset_postdata();?> </div> </div>