Additional featured post on first page
If I understand your goal correctly, I would create two queries. The first will retrieve only the featured post. We’ll display that post on the first page only and store its ID to use later. Then, a second query will get all of the remaining posts. // first query to retrieve the featured post $featured_post_id … Read more