• Resolved hmabpera

    (@hmabpera)


    The Today’s events widget appears at the bottom of the calendar page.
    It does NOT display any of the events in the categories defined in the widget.
    It only displays the current date which I’ve defined as the title.
    Here is my widget definition:
    Title: {date}
    Template: {timerange after=”, } – {link_title}

    Show this text if there are no events today: <span style=”font-size: 16px”>No Special Events Today</span>

    Category or categories to display: 1, 5, 6, 13, 15, 20

    All other boxes are blank

    The page I need help with: [log in to see the link]

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    No, they use the same core function for time. Technically, the Today’s Events widget doesn’t care about the current time; only about the date – events should only go off when the day has ended; they shouldn’t drop off just because they’re now in the past, as long as it’s the current day.

    But, I just took a look at your upcoming events CSS, and I see that you have a custom CSS declaration in your stylesheet:

    .todays-events .past-event { display: none !important; }

    That line of CSS will hide all events in the ‘Today’s Events’ list that are in the past; so that’s what’s doing the actual hiding.

    Thread Starter hmabpera

    (@hmabpera)

    Thanks, Joe. This used to work as I described with the addition to the Stylesheet that you found with events dropping off once they were past the endtime.

    I changed my stylesheet as you suggested at 10:15 PM. There were still no events listed in the widget display. I think it’s because somehow at 10:15 PM it thought it was 2:15 AM tomorrow!

    I think that your idea will get me through here because we don’t usually schedule any events at or after 8 PM. I’ll know for sure tomorrow.

    Thanks for your time and effort in helping me find a way to work with this issue. H

    Thread Starter hmabpera

    (@hmabpera)

    I removed the code referencing today-events, past-events from my refresh.css file
    /* Today widget drops events which have passed in time */
    .todays-events .past-event {
    display: none !important;
    }

    Surprisingly, I’m getting the same result I had before. Events drop off the widget when it’s 4 hours before their end time. I really thought this would be a work around but the today calendar isn’t acting as you expect, Joe.

    I’ve read in the WP forums that there are sometimes problems in WordPress UTC time and Local time but the UTC time and the Local Time are correct in the WordPress Settings.

    Thanks, again, for your efforts on this one. H

    Thread Starter hmabpera

    (@hmabpera)

    Hi Joe,
    As you can see, I don’t give up. I tried this in a different browser (w/o the extra code I had for todays-event past-event) and it worked as you described!
    I cleared the cache in my own browser and BINGO, it works exactly as you said it would.

    I actually like it better this way w/o events dropping off.

    From now on, if I see really strange behavior I’m going right for “clear the cache.”

    Thanks again for your responseS to my questions. 5*’s form my-calendar. We’ve been using it for 6 years!
    H

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks!

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Today’s Events Widget using categories stopped working’ is closed to new replies.