Event Rocket plugin

Home Forums Calendar Products Events Calendar PRO Event Rocket plugin

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1115259
    dte_bali
    Participant

    Hi.

    We’ve recently updated to The Events Calendar Pro.
    Until now we’ve been using the Event Rocket plugin in order to create this kind of section on our website (see image attached)
    Is there any way to create the same thing using the features that the Pro version opens for us (PRO widget shortcodes maybe)?
    So we can have more flexibility with providing info on it etc.

    Thanks so much!

    #1115342
    Brook
    Participant

    Howdy dte_bali,

    That looks awesome. Were you using Event Rockets template shortcodes for that?

    You could certainly do this with Events Calendar Pro. You will have more flexibiility but it won’t be quite as easy.  Do you know much about creating/modifying WP Themes? If so our Themer’s Guide can get you rolling here. Create a theme override for the list widget and you can rearrange things so that it displays horizontally, includes thumbnails/cover images, and the description. This gives you full control over the HTML and CSS that applies the widget, so you can change anything about its content and look.

    That said we are actually considering doing something similar to Event Rocket’s template shortcodes since the author did not have time continue maintaining that plugin. But that’s still a ways away.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1115746
    dte_bali
    Participant

    Hi,
    Thanks for your reply.

    The current usage of Event Rocket shortcodes for creating this is quite satisfying for our needs at the moment.
    The only thing that made me raise this inquiry is that it cannot process a reoccurrence event info. and shows up a scrambled code instead (as shown in the picture attached). any solution for that? perhaps..

    So if I understood the Themer’s Guide correctly, any change I’ll make on “my theme” will automatically override the default Event Calendar original design and layout, without any additional action?

    Thanks!

    #1115853
    Brook
    Participant

    So if I understood the Themer’s Guide correctly, any change I’ll make on “my theme” will automatically override the default Event Calendar original design and layout, without any additional action?

    That is exactly correct. It is a way to make changes to the The Events Calendar templates that won’t get overriden when you update. We do our best to make those template changes last so you rarely if ever need to make changes to them when updating the plugins.

    • Brook
    #1119604
    dte_bali
    Participant

    Great! Thank you for your help

    Managed to recreate the exact same thing using purely the Events Calendar Pro List Widget.

    1) Now, what do I need to do so only the next event will be shown, so if I got an event that set between 5pm to 7pm and its 5:01pm – it’ll already show the next event starting at 7pm?
    2) What code line i need to insert and where to include reoccurring events info?

    Thanks! 🙂

    #1120974
    Brook
    Participant

    That’s exciting, I am glad you got it working.

    1) Now, what do I need to do so only the next event will be shown, so if I got an event that set between 5pm to 7pm and its 5:01pm – it’ll already show the next event starting at 7pm?

    I can see the benefit of that. Basically you want to hide currently ongoing events, and only show ones which start after now. This is doable, but I have to warn you it will require a huge bit of knowledge on crafting a WP_Query . If you don’t have that background this might not be your forte.

    If I were you I would actually use tribe_get_events() and avoid using the widget altogether. In theory it is possible to alter the widgets queries pre_get_posts , but often times it is impossible to distinguish between a List Widget query and a List View query, so altering one alters both. In this instance I can not think of anyway to alter just one. So rather than try to modify the current widget, I would build your own using get_posts() or tribe_get_events() .

    The query you need to craft will be somewhat simple. You will want to check the meta key _EventStartDate and hide any event which is less than the current time, then sort the upcoming events by the same meta key. And you probably want to limit the amount of returned events to 3 or however many you want to show.

    Now that you have the events you could create a widget or shortcode, perhaps using your current template modifications as a base, and then pass them those events.

    I really wish this modification was going to be easier! But there you go, that’s how to do if you are so inclined.

    2) What code line i need to insert and where to include reoccurring events info?

    The easiest way to show all of the info + a link to all of the other occurences is the function tribe_events_event_schedule_details() . You can actually run that funciton anywhere you want inside your template, so slip it in a spot of your choosing. 🙂

    But that function would have been in the default template. Did you perhaps remove it on purpose? If so what info are you hoping to show? The recurrence description (For Example “Recurring event that happens every Wednesday”) ? A link to the other recurrences?

    Cheers!

    – Brook

    #1127381
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event Rocket plugin’ is closed to new replies.