On my custom template “espresso-events-table-template” of your last version of “eea-events-table-view-template” I want to add an option (radio buton for example) to show/hide expired tickets/Sold out tickets/Running TIckets.
By default I wish to hide this tickets. Is it possible ? How can I do this ?
This will require some custom coding on your part. One example of some of the code you could add would be to add a “sold-out” class to the markup, which could then be used as a “hook” for some jQuery (like the .toggle() method) to target to hide/show with your custom button controls.
So for example, in your template, there’s already this logic for checking for a sold out event:
The support post ‘EE4 – Event Tables – Add dynamic filter to show/hide tickets Solde Out / Expired’ 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.