Support » Plugin: WP Calendar » [Plugin: WP Calendar] show events in history

  • Resolved jaapwiering


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author faebu



    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}

    Hi Faebu,

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

    uitgevoerde cantatediensten

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Calendar] show events in history’ is closed to new replies.