Home › Forums › Calendar Products › Events Calendar PRO › Event List Pro Sidebar Widget List
- This topic has 5 replies, 4 voices, and was last updated 7 years, 1 month ago by Lauren.
-
AuthorPosts
-
February 27, 2017 at 3:20 pm #1246539LaurenParticipant
Hi. This is picking up on this thread which is closed: https://theeventscalendar.com/support/forums/topic/sidebar-calendar-widget-and-recurring-events/
At the end of that thread you referenced using “tribe_get_recurrence_text function” to add the ‘Recurring Event (see all)’ text to a recurring event in the widget. Can you explain how I could implement this?
Thank you!
February 28, 2017 at 9:31 pm #1247405CliffMemberHi, Lauren. Sure, I’m glad to help. For reference from that previous thread:
If I correctly understood what you’re wanting, you might want to use the tribe_get_recurrence_text function, which is from this file: /wp-content/plugins/events-calendar-pro/src/functions/template-tags/general.php
It’s the function that outputs this text: https://cl.ly/2l0v3H0b1v2w
I can tell you that the tribe_get_recurrence_text() method has a tribe_get_recurrence_text filter, but I’m guessing that might be too technical an explanation for you… so maybe if you explain exactly what you’re trying to accomplish I might be able to assist further.
Please let me know…
March 1, 2017 at 11:05 am #1247860LaurenParticipantThanks Cliff. Here’s what I would like to do:
I have events that are recurring on a weekly basis, but i have selected to only show the first instance. In the main list view these events show that they are recurring and you can click to view the list of dates. However, when I use the event list widget in a page’s sidebar these events have no indication that they are recurring. You can see an example here: http://mae.outboxin.info/education/adult-classes/. The event that you see on the right is recurring.
Thanks for your help.
March 1, 2017 at 4:17 pm #1248063CliffMemberSo if I’m understanding you correctly, you’d like the recurrence pattern text to display below the “March 2 @ 11:00 am – 12:30 pm” text, like this: https://cl.ly/1c2y061E4631?
Here’s a snippet to do just that… although it outputs many more places throughout event displays than just PRO’s Advanced List Widget:
https://gist.github.com/cliffordp/375d6b997226fb1da3ef2494f59d98d6
However, it can give you an idea of how to implement something custom like this if you want to tweak it more for your use case.
Please let me know how this goes for you.
March 23, 2017 at 9:35 am #1258788Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event List Pro Sidebar Widget List’ is closed to new replies.