Viewing 5 replies - 1 through 5 (of 5 total)
  • Not sure what you mean by ‘upcoming’ so will suggest you look at using the daily arguments with Template_Tags/wp_get_archives

    Thread Starter headphonesilence

    (@headphonesilence)

    By upcoming I mean I use post as events. I make the post visible by publishing it on the future date and displaying only upcoming posts in my index.

    So when I click on “monday” it should display only posts from the upcoming monday.
    What exactly do you suggest?

    I have looked on the website you suggested. This for example would display only posts for the upcoming week, I guess:

    <?php wp_get_archives(‘type=weekly&limit=1’); ?>

    I guess I am to replace “weekly” with a week day like “monday”. Would that even work?

    Not sure if I’m helping but will point you to:
    https://www.google.com/search?q=wordpress+display+future+posts

    Thread Starter headphonesilence

    (@headphonesilence)

    Thanks I’ll take a look at it ??

    I’m looking for the same (only that not upcoming posts, just regular posted posts) where I get the latest post made a Monday, the latest post made a Tuesday and so on, however, wp_get_archives doesn’t have a “day of the week” option, unless it’s not listed by mistake. Any idea on how to achieve this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Query_post week days?’ is closed to new replies.