I have two sidebars running custom loops on my index page. http://nerdynothings.com
Is there a way for the sidebars not to repeat posts that are already listed within the main loop?
<?php
$postslist = get_posts('category=8&numberposts=1&order=DESC&orderby=date&offset=2');
foreach ($postslist as $post) :
setup_postdata($post);?>
***This is where the first post in the category goes, excerpt, title and image.
<?php endforeach; ?>
<?php
$postslist = get_posts('category=8&numberposts=4&order=DESC&orderby=date&offset=3');
foreach ($postslist as $post) :
setup_postdata($post); ?>
***This is where the titles for 4 more posts go.
<?php endforeach; ?>
I really hope that makes sense and you can help me.