Hey guys, I have this question for you all. Inside an <ul>. I draw a list of all the posts in the "Events" category. It shows at the top of the list, the closest event to the actual day and the next 7.
Let's say the next event is at August 28. On August 29, I shouldn't have that event on the list. Right?
I just don't know how to exclude those posts. Here is my piece of code for it:
<ul>
<?php query_posts('category_name=eventos&showposts=8&order=asc'); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile;?>
</ul>
Thanks in advance!