display all posts after or before a date “x”
-
Hello,
The last two hours I tried unsuccessfully to modify the wordpress loop in order to display only posts that had been written before a certain year.
What I basically tried was to alter my template like that:
query_posts($query_string . "&year<2007")
or
query_posts($query_string . "&year=2005&year=2006")
and
query_posts($query_string . "&year<=2006")
Unfortunately it seems that in this context neither boolean operators when combining twice the same filter criteria nor relational arguments are working.
I’d be very glad for any help …
Greetings
Matthias
- The topic ‘display all posts after or before a date “x”’ is closed to new replies.