• mrhandley

    (@mrhandley)


    I´m looking in to the ability to use wordpress for showing a specific post at a specific date, and only that date.

    Lets say I create a post “today is the first of may”. Then I want that post to be shown every time it is 1:st of may.

    I´ve found the Around this date in the past… plugin but is there all that exists?

    Has anyone else done this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • MichaelH

    (@michaelh)

    How many posts are you going to have like that?

    Thread Starter mrhandley

    (@mrhandley)

    I´m not sure yet, but maybe 300 – 400.

    Therefor I need it automated 🙂 It is an option to go with joomla or something similar, but I would rather do it with WP.

    WP is centered on chronological sorting/publishing of posts , and I want to do something different than that, I know.

    MichaelH

    (@michaelh)

    This will query for posts that have today’s month and day:

    $today = getdate();
    $args=array(
       'monthnum' => $today["mon"],
       'day' => $today["mday"]
       );
    query_posts($args);

    See:
    query_posts()

    Thread Starter mrhandley

    (@mrhandley)

    Wow, great. Thank you so much!

    I´ll report when I got it up and running.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Show a specific post at a specific date’ is closed to new replies.