Posted: January 30, 2019 at 4:13 pm
|
Hi, Thanks! |
Hi, May I ask are there any customizations in place so the event list widget does not display events that cannot be registered for? (which is what appears to be in the mobile view) |
|
|
Hi Josh, I then decided which categories I want to display in the widget and created one category that includes many sub categories so for example: I should have specified this information in my first message. |
Hi there, I’ve just updated the code used in that Gist to include sold out events, the change you’ll need make on the version running on your site is here: https://gist.github.com/Pebblo/d0d5f485ae0599e56e20#file-tw_custom_upcoming_events_widget-php-L318 That should then include sold out events for you. |
|
|
Thank you it works now. |
It depends on what/how you want to output the details, but you can check if the event is sold out using:
So you could use something like:
Obviously adding your own elements etc to the output. |
|
|
Thank you can you advise on where I can place this code to make it show up? |
Sure, where exactly on the widget would you like it to be displayed? Using this image as an example: https://monosnap.com/file/7XrgY6sJSfxmKQNSVtF1DYxIAoY17w |
|
|
just above the venue name.thanks! |
There’s no code in my version of the widget to output the venue so I’m assuming in my example that ‘Nicolinis On The Bay (Elwood)’? If so you can add it either above or below this line: https://gist.github.com/Pebblo/d0d5f485ae0599e56e20#file-tw_custom_upcoming_events_widget-php-L366 |
|
|
Hi Tony, |
I’ll need to see the code you used, can you post the contents of the widget here: Then add the URL here and I’ll take a look. |
|
The support post ‘Displaying Sold out events on mobile’ 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.