WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google Calendar Widget] showing past events

[Plugin: Google Calendar Widget] showing past events

Viewing 2 replies - 1 through 2 (of 2 total)
  • rodmusic
    Member

    @rodmusic

    OK, I figured it out. In the plugin code:
    query.setFutureEvents(false);

    This shows all events past and future: http://rodmusic.com/calendar
    Any way to show just past events. Combining that with
    query.setSortOrder('ascending'); would be a great way to display past events with the most recent events at the top.

    Having some sort of shortcode for the options would be extremely cool. Short of that I could have 2 versions of the plugin installed and use the one that gives me the desired effect.

    Any ideas, anyone?

    rodmusic
    Member

    @rodmusic

    Sorry, above should be
    `query.setSortOrder(‘descending’);’
    to show older events first

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Google Calendar Widget] showing past events’ is closed to new replies.