Hi Don,
Do you mean you only want to show the first time the recurring event happens? Or you mean omitting a recurrence description? If you could include a link to your site I can see what you mean.
Note that this plugin is intended for the free version of The Events Calendar (which doesn’t have recurring events), but I may add support in a future version or the upcoming Pro version of The Events Calendar Shortcode.
Thanks!
Brian
Brian,
Thx for the response. Sorry, there isn’t a site to look at – I’m exploring updates for the site, but ran into the problem while testing on my dev machine. As an aside, I do have the pro version – thus the recurrence issue.
I’m trying to create a very compact list of the next few events (when viewed from the time at which the user is looking at the site) and I really want only the event title, date, and time. The fact that it is a recurring event is of no interest (in fact very confusing) to the site user. If the title were a link, that would be a nice addition.
Not sure how widespread my need is. I haven’t started looking into it, but I may write the code for my case which would give me the opportunity to integrate it with some other things I’m doing.
For your thinking about where you are going, our use case is a retirement community with a closed site. At any instant, we have several hundred active calendar items (counting recurrences which we rely on heavily) so a display of the next 5-10 items might only encompass a couple of hours (if filtered). If I were to posit my druthers, I would probably have something that allowed a bit of filtering, abstracted the date to a higher level, and listed events by title and time.
Thx again,
–Don
Hi Don,
This shortcode would give you a condenced version of the events from current time with a link to the title:
[ecs-list-events contentorder='title, date' limit='20']
The only issue is that recurring events from The Events Calendar PRO would be repeated, and would probably need some styling to fit with your theme?
Thx again, Yes, that is what I tried. It still displays all the info about recurring events. I didn’t look carefully to see if I can possibly suppress the excess text with styling or not.
Brian,
Had a chance to take a better look. You’ve done a nice job giving everything a class name, so it appears that I can accomplish what I want with css. In particular, I can set .recurringInfo {display: none}.
Thx again,
–Don
Perfect! That would do the trick to hide the recurring block.
I’ll also be adding an option to hide all but the first recurring event to the pro version here, if interested:
https://eventcalendarnewsletter.com/the-events-calendar-shortcode/
I can understand the use case for only the *next* recurring event. The use case for the *first* one (which might be in the past) escapes me. Presume someone has asked for it.
Yes you’re right – I meant the next recurring event (or rather the first instance of a recurring event, whether it be in the past, future events, for a specific month, etc). It would all be relative to the time period asked for, or by default starting from now.