I have already read some info about his issue on the web, but I had no serious solution. Resources I read:
http://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
http://wordpress.org/support/topic/next_posts_link-not-displays-same-posts-not-next-posts-when-using-offset – Exactly the same problem.
Now here is my code in index.php:
<!–slider–>
<div id=”featured”>
<?php
// query the posts of your custom post types
query_posts(‘posts_per_page=5’);
if (have_posts()) : while (have_posts()) : the_post(); ?>
<!–main body–>
<?php
// query the posts of your custom post types
query_posts(‘posts_per_page=5&offset=5’);
if (have_posts()) : while (have_posts()) : the_post(); ?>
When I press the next posts I get the same duplicates of the body posts.
What is the solution for this?