Skipping/Excluding the most recent post from the loop

Dear colorlib-team,

I would like to exlude the most recent post from the loop. The first post is being displayed in a seperate container in a different style that I created underneath the header. Under that container, the normal blog loop starts and displays the posts. Can you tell me how I can skip/exlude the most recent post? Otherwise it is displayed double (first in the seperate container, and then in the normal blog).

It would already be helpful if you could tell me where in the original theme-files I have to edit something. I am now learning php step by step, but it’s still, well, let’s say, slightly demanding :wink:

Kind regards!

Dear support,

I actually solved it myself, it’s working. Perhaps you have advice whether this is a solution that is ok, or perhaps there is a more efficient/functional one:

In the loop, located in index.php, insert one line, like this:

get_header(); ?>

<div id="primary" class="content-area">
	<main id="main" class="site-main" role="main">

	<?php

query_posts(‘offset=1’);
if ( have_posts() ) :

Hi @darjeeling,

I hope you are well today and thank you for your question.

You should not edit main loop using query_posts instead you can achieve it using pre_get_posts hook as described on the following page.

Best Regards,
Movin