Kind, tell me how to make an offset for one post, it turns out minus one post, so that the last post added in this category is not displayed.

<?php $query = new WP_Query('cat=9&showposts=5'); if( $query->have_posts() ){ while( $query->have_posts() ){ $query->the_post(); ?> <h2> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h2> <?php the_content(); ?> <?php } wp_reset_postdata(); } else echo 'Записей нет.'; ?> 

    1 answer 1

    The request must be written as:

     $query = new WP_Query('cat=9&showposts=5&offset=1');