WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
[resolved] Upcoming Events Widget (5 posts)

  1. markremo
    Member
    Posted 1 year ago #

    I'm using the supplied Google Calendar Events Sidebar widget (and a short code) to create the page linked here. I'd like to alter the widget, or create a new instance of it, that shows Upcoming Events, using Today's Date as a starting point.

    Has anyone tried this or is that a built-in way to accomplish my goal?

    http://aboutbloomfield.com/calendar/

    You can see from the example that the sidebar widget starts display events from The Beginning of Time because that's how each Feed is configured. I've intentionally done this to allow events to persist on the calendar after their Date has passed.

    Thanks and great plug-in.

    http://wordpress.org/extend/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Mark,

    Currently, the only way to do this is to create a second set of feeds in the plugin that use the same feed URL(s). You can then set the "Retrieve events from" option for these feeds to "00:00 today" (leaving the original feeds set to "The beginning of time"), and use the widget settings to display only these feeds.

    I appreciate this is a bit cumbersome, especially if you have many feeds. I do plan to improve this at some point.

  3. markremo
    Member
    Posted 1 year ago #

    Ross,

    Thanks for the straight answer. While a bit cumbersome, it could be a lot worse.

    Related, is there a way to show past events in a deactivated state, but still keep them on the calendar?

    Again, great plug-in and thank you.

    Mark

  4. Ross Hanney
    Member
    Plugin Author

    Posted 1 year ago #

    Mark,

    The plugin adds a gce-day-past CSS class to each table cell that represents a day in the past, so you could use a little CSS to style these table cells differently. Like this, for example:

    .gce-day-past {
    	color: #ddd;
    }
  5. Ross Hanney
    Member
    Plugin Author

    Posted 1 year ago #

    Marking as resolved. If you need any further help, let me know!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic