Echo Posts for upcoming weekend (Friday, Saturday, Sunday)) (7 posts)

  1. RE20
    Posted 4 years ago #

    I am working on and event website. Only plugins I am really using are 'The Future is Now!' do display all post no matter of there publishing date and using custom fields.

    So at the moment I have codes set up to echo out events for Today, for the whole week and the whole month. I am trying to get a code to work so I can post events for the upcoming weekend (Friday - Sunday). Any help would be great.

  2. A code within the plugin or...?

  3. RE20
    Posted 4 years ago #

    No. Using a code I found just googleing and the forum.

  4. Can you post that code bit up on pastebin :)

    This may be a quick answer, but it depends what you're using to show the week and month now :)

  5. RE20
    Posted 4 years ago #

    Sure. Here is the code I am using for the weekely posts.

  6. Ah, cool. Standard stuff :D

    Sadly that's a pretty complicated bit of code. This post, which shows you how you can start the week on Thursday, has the basic idea:


    You need to track from day 5 through 7, basically.

  7. RE20
    Posted 4 years ago #

    Thank. Greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic