Is there a way to filter the events by venue? I would like to allow people to find events by the venue closest to them. I am using EE4 and don’t seem to find an easy way to do this. I found documentation on code snippets that included to Print a list of upcoming events for a venue on the venue details page. (https://eventespresso.com/wiki/useful-php-code-snippets/) but wasn’t successful in getting this code to connect properly. Could you help guide me in the right direction? I may have not connected it right, so any help or guidance would be greatly appreciated. Thank you!
I had tried both ways, but I think I was missing the hookup. Once the code is included in the functions.php, how do I connect it to the venue details page?
For the venue details page, I’m using the permalink of the venue and linking to that page. I’m expecting to find the events for that venue on that page. It could also be I’ve misunderstood something. Thank you for your help.
Serves the purpose of hooking the function to the action hook. If it’s not working, there may be another plugin that’s not allow the custom venue content to display. There’s a few plugins out there that will run filters on the_excerpt() which strangely will affect this. As a quick test to check, can you go into a venue and edit it, and add an excerpt, then check the venue page to see if that makes a difference?
Josh, That was exactly it. I found where the excerpts were being blocked and now the events are listed before the venue details. It was the theme – the theme had been set to not show excerpts, but without knowing that was the problem, I would never have guessed to look at that.
Your help has been certainly appreciated!
Viewing 4 reply threads
The support post ‘View Events by Venue’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.