Posted: November 5, 2020 at 6:29 pm
Hi, I’m wondering if there’s a way to have a grid that shows all of the upcoming events that are still available to register for. We’d also like to show the ones that are still upcoming but are sold out, and have some sort of label or graphic showing that they are sold out, or ‘almost sold out’… something like that. Also, I’m not clear how the templates work – do you have instructions somewhere on that? Do I just copy the espresso-grid-template.template.php to a child theme and edit it? and how do I tell it to use that template in the shortcode? Thanks! |
|
Here’s an example of what we’d like to do: https://www.novalda.com/events-grid/ |
|
Hi Kerry,
This sounds like the default behaviour for the grid template with the exception of the sold-out graphic. The link provided basically just uses multiple instances of the grid shortcode to output various events.
That’s correct, you copy the template file in your child theme. EE automatically checks your theme for the template it is trying to use, in this case, the default template filename is You can also use multiple different templates by passing the name of the template_file to the shortcode, like so:
The filenames can be whatever you prefer as longas you pass it to |
|
Hi, thanks for this. I’m not a developer but I can give it a try. Where would I find the snippets of code to add to the template? What I’m trying to do is something like this (on the grid view) – I was searching through your forums and someone else had posted it. Specifically we’d like to be able to show the spots available or sold out like this example: https://www.paintingwithatwist.com/studio/westport/calendar/ Also, is there a way to turn thumbnails OFF on the calendar view shortcode so it just shows text? I don’t want to remove the thumbnail altogether because we’re using it on the grid view. Thanks! |
|
We some code that can be used to display the available spaces on the grid view template here: https://eventespresso.com/wiki/events-grid-view-template-add-on/#ee4customizations Is that what you are looking for?
Sure, you can disable it in the Calendar settings: Event Espresso -> Calendar -> Basic Settings -> Enable Images in Calendar Set that to No and save. |
|
The support post ‘Events grid that shows sold out events with a label’ 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.