Support

Home Forums Event Espresso Premium Event Espresso (EE4) and Revolution Slider

Event Espresso (EE4) and Revolution Slider

Posted: September 10, 2018 at 4:18 pm


Debbie B

September 10, 2018 at 4:18 pm

I’ve purchased the Revolution Slider as the site I develop for wants the ability to have events on the homepage where the user can slide through them and then easily select the event they want to register for.

I don’t know if I’m particularly dense at the moment but I can’t figure out how to easily get events I have created into the slider.

Can someone explain to me in very small words 🙂 what I need to do.

Thank you to anyone that helps.

Cheers,
Debs


Josh

  • Support Staff

September 10, 2018 at 5:31 pm

Hi,

You’ll actually follow the Revolution Slider’s documentation:

https://www.themepunch.com/revslider-doc/post-based-slider/

When you follow the above documentation, during step 2, you’ll select the Event Espresso events custom post type.


Debbie B

September 11, 2018 at 4:19 am

OK I managed to get my events into a slider (yay!!) but it’s showing ALL of the events.

Is there a way to limit it to just future events?


Josh

  • Support Staff

September 11, 2018 at 9:02 am

Hi,

There may be a way and it will involve adding custom PHP code to your site. You’ll find some example code in this GitHub Gist:
https://gist.github.com/joshfeck/ffb55bbe7bf123c72cfeac729cc99773

You can add the above to a functions plugin by following this tutorial or into your WordPress child theme’s functions.php file.


Debbie B

September 12, 2018 at 4:20 am

I’ve copied the above PHP into my Snippets plugin and activated it and it kind of works.

But for some of my events it’s displaying the slide 2 or 3 times in the slider so I have to swipe through a few times to get to the next event.

I only realised when I turned on the Tab in the slider. I have included a screen shot below so you can see the extra slides.

slider

Why would it be doing that?


Debbie B

September 12, 2018 at 4:22 am

if the image above doesn’t work, hopefully this link will.


Debbie B

September 12, 2018 at 4:22 am

Sorry, I shouldn’t do this when I’m so tried.

Link to image


Debbie B

September 12, 2018 at 4:38 am

I think I’ve realised what it’s doing, I’m just not sure how to fix it.

I think the slider has a slide for the number of Event Datetimes created for each event. So if my event has 3 different Event Datetimes then 3 slides appear on the slider.


Josh

  • Support Staff

September 12, 2018 at 11:16 am

What you can do is go into the Revolution slider settings for that slide and set the Post Categories to single-event. Here’s a screenshot with that option outlined in purple:

https://slack-files.com/T02SY781D-FCS4WD35H-467b5a1f51

Please be sure to click on the green save button after making this change.

The support post ‘Event Espresso (EE4) and Revolution Slider’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso