Support

Home Forums Events Calendar Add-on Upcoming Events not showing in Events Calendar Add-on

Upcoming Events not showing in Events Calendar Add-on

Posted: February 19, 2019 at 11:41 pm


coolspring

February 19, 2019 at 11:41 pm

Hello Support team,

I need help to resolve two issues on my website
I am using event calendar add-on
1.) Upcoming events have stopped showing after using this shortcode –
[ESPRESSO_CALENDAR show_expired=”false”]
This shortcode only showing current month events
2.) Calendar page is loading very slow. events take too much time to display.

Please provide solution to fix these issues..

Thanks


Josh

  • Support Staff

February 20, 2019 at 9:29 am

Hi,

May I ask can you post a link to the page in question so we can investigate further? Thank you.


coolspring

February 21, 2019 at 4:45 am

Hi Support

This is the url of my development site,
http://cs.howpl.com/explore-downtown/calendar/

Check the screenshot when I am using shortcode without show_expired=false
i.e “[ESPRESSO_CALENDAR show_expired=false]”
https://prnt.sc/mo4b4i

But when I am using [ESPRESSO_CALENDAR show_expired=false], it didn’t show all events

Also please provide solution for slow loading of events on this page.

Thanks


Josh

  • Support Staff

February 21, 2019 at 9:45 am

Hi,

My name is actually Josh.

It’s not clear from your screenshot what’s wrong, because your screenshot shows the month of October 2019. If you can provide more details about the missing events I’d have a better idea whether this will be the solution:

https://gist.github.com/joshfeck/1d0c78e541b4e24fd744b8805499bb6e

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

The solution for slow loading of events will be to either update the server or migrate the site to a more performant server. May I ask which version of PHP is that server running?


coolspring

February 22, 2019 at 4:57 am

I mean to say that when i have used the shortcode “[ESPRESSO_CALENDAR show_expired=false]”, then after using that the expired events are no longer displayed which is correct but after using that the upcoming events also are hidden or not displaying in the calendar.


Tony

  • Support Staff

February 22, 2019 at 5:05 am

show_expired=false means the query is based on both the datetime Event End Date and the Tickets Sell Until date.

With a screenshot and the explanation given, we don’t have enough details to be able to know what the problem is but at a guess, your using datetimes as ‘upcoming events’ and the ticket assigned to those datetimes has expired (which is what Josh’s gist would fix.

Using the ‘City Market at the museum’ event as an example, can you post a screenshot of the ‘Event Datetimes & Tickets’ section in the event editor, which is this section – https://monosnap.com/file/WGWkXHu9l7ITZ9oUC1UxFkFh13obpj


coolspring

February 25, 2019 at 4:07 am

Please check screenshots for “City Market at the museum”
https://prnt.sc/mps30l
https://prnt.sc/mps3c8


Tony

  • Support Staff

February 25, 2019 at 4:16 am

The ticket on that event has expired, meaning none of those datetimes are available and the event is expired…. so setting show expired will hide those datetimes

Are you wanting users to be able to book on each individual datetimes of that event? If so you’ll need a ticket for each individual datetimes and assign that ticket to a specific datetime.


coolspring

February 25, 2019 at 5:30 am

Thanks for your reply,Now i am understanding what’s the issue behind this, Show expired works with ticket expiration date.
I have checked ticket date was expired, that’s why some events are not showing

Thanks once again.
Is there any way to load events fast?


Tony

  • Support Staff

February 25, 2019 at 6:40 am

Show expired works with ticket expiration date.

Not just the tickt expiration, but its part of it.

So to be clear, with your setup if someone purchases a ticket they can go to EVERY instance of that event, is that expected?

The support post ‘Upcoming Events not showing in Events Calendar Add-on’ 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.

Event Espresso