I am customising a WordPress blog page from a theme and for some reason it doesn’t display the posts I am posting now, just ones I wrote in the past. I have changed it from being a slider to display the posts, as i want it just to be a list of posts one below the other. For some reason this has broken it and now whatever i do, even when i overwrite the file with the previous version, it doesn’t display newer posts. What do i need to do??
the code is as follows
<ul class="blog_list"> <?php $recent = new WP_Query("cat=" .of_get_option('select_categories_slider'));
while($recent->have_posts()) : $recent->the_post();?>
ID); $video = $meta_box[‘custom_meta_video’]; ?>
“>Read more >
</li> <?php endwhile; ?> </ul> </div>
Read more here: WordPress Blog page not displaying posts