WP Calendar
[resolved] show events in history (3 posts)

  1. jaapwiering
    Posted 4 years ago #

    It would be very useful to have a simple {events_print} way to display a list of past events until yesterday.

    I want a list with events from the year 1952 till now. So the code looks like
    {events_print; number=50; datefrom=-568058400; orderby=datefrom; orderdir=desc}
    The datefrom does not work. If I put in a more recent (possitive) date, than it works, but it also shows future events.

    Feabu: I really like your plugin, and you did - to my opinion - the best calendar plugin. But if you stress on reading the reference, it is quite hard for a non-programmer.


  2. faebu
    Plugin Author

    Posted 4 years ago #


    i don't know why it does not work with negative timestamps. the new version, which will be release today, is supporting MySQL Datetime, which makes it much easier. This new version, will also support some basic keywords, which help your needs. As soon as you have the version, you could print the list of events by using the following tag:

    {events_print; number=50; datefrom="1952-01-01 00:00:00"; dateto="today" orderby=datefrom; orderdir=desc}

  3. jaapwiering
    Posted 4 years ago #

    Hi Faebu,

    I updated your plugin, I pasted your code in the page and updated. Still the result is the same...


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic