Posted: 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, |
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. |
|
|
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? |
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: You can add the above to a functions plugin by following this tutorial or into your WordPress child theme’s functions.php file. |
|
|
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. Why would it be doing that? |
|
if the image above doesn’t work, hopefully this link will. |
|
Sorry, I shouldn’t do this when I’m so tried. |
|
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. |
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.