Usage of query_posts
-
I’m trying to set up a blog where the front page shows only the posts made related to a certain topic. There are a couple ways I can do this.
One way involves a time-based query. One topic will be covered each week, so if I could somehow limit the posts displayed to only those in the week, it’d be fine. The only complication is that I can’t do a simple 7-day filter, because posts from two categories will be shown when it’s the middle of the week.
Another way is to use a category-based query. All the posts in a topic will share a category, since the author is making each category as he begins each week. But I need a way to limit the posts to the newest category created.
Can anyone think of a way to achieve either of these limits?
- The topic ‘Usage of query_posts’ is closed to new replies.