Setzen Sie post_per_page
global $wp_query;
$wp_query->set('posts_per_page', 1);
$wp_query->query($wp_query->query_vars);
Wide-eyed Wallaby
global $wp_query;
$wp_query->set('posts_per_page', 1);
$wp_query->query($wp_query->query_vars);
function wpsites_exclude_latest_post( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( 'offset', '1' );
}
}
add_action( 'pre_get_posts', 'wpsites_exclude_latest_post', 1 );