ThemeShaper Forums » Thematic

[closed]

weekly posts listing

(3 posts)
  • Started 7 years ago by gnurf
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. I hope someone can help me in the right direction with this one:

    Say you have some contributors writing posts about weekly happenings. One write about Monday happenings and another about Tuesday happenings and so on. These post are written a week or so in advance.

    How can I list all posts for a preferred week, for example current week and next week?

    All suggestions are welcome!

    -Paul

    Posted 7 years ago #
  2. Kyle
    Member

    I also need to find a way to do this. The home page of the site I'm building needs to display posts for the current week (Sunday through Saturday) and have "previous week" and "next week" links at the top of the page.

    I'm not asking for anyone to do this work for me. I will attempt to code it myself if someone can at least point me in the right direction or tell me where to begin.

    Many thanks in advance.

    Posted 7 years ago #
  3. off the top of my head i think you are going to need to add some post meta for the date of the actual event, since that date does not correspond to the date the article/post is published. once you have some meta, you can actually do some pretty advanced meta queries now. you should be able to query for posts between certain dates if you save the date in a useful format (like a unix timestamp).... ie you won't get anywhere if you save a "string".

    devin price has some good info in this article that i think could be relevant:
    http://wptheming.com/2011/11/event-posts-in-wordpress/

    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.