Event List Pro Sidebar Widget List

Home Forums Calendar Products Events Calendar PRO Event List Pro Sidebar Widget List

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1246539
    Lauren
    Participant

    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!

    #1247405
    Cliff
    Member

    Hi, 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…

    #1247860
    Lauren
    Participant

    Thanks 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.

    #1248063
    Cliff
    Member

    So 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.

     

    #1258788
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Event List Pro Sidebar Widget List’ is closed to new replies.