How to avoid duplicate posts on front page?
Don’t use an && like that. And don’t use query_posts() in the first place (It’s meant for modifying a query, not performing a separate query!) Instead, do your first selection, then pull out the IDs of the posts in that selection and pass them into the second query. $fruit = get_posts( array( ‘posts_per_page’ => 3, … Read more