Posted: March 28, 2024 at 3:22 pm
|
Got up this morning and only 1 pages of shortcodes was working. Turns out the reason it was working was because we have 2 of them on the page. I had to duplicate the shortcodes on all our pages so that the classes were showing. https://portlandfashioninstitute.com/classes/design-classes-2/ Please help |
Can you tell us what shortcode are you using and the parameter inside. If you can take a screenshot of those you added in the code editor, that would be fantastic. thanks |
|
|
As a side note, the Event Posts widget in Elementor no longer displays events. This was working last week but now it doesn’t work. We’ve tried multiple shortcodes, but here are some samples: I had to add this shortcode twice to get to show on the home page: On this page: https://portlandfashioninstitute.com/classes/design-classes-2/ Screenshot https://prnt.sc/bafS7fK57LuB * we tried the shortcode elementor widget and the text editor – which is what we have now… we have 2 text widgets. If there is just one, it won’t show any classes. |
I did try to recreate the issue but no luck. Have you tried checking if there’s possible plugin or theme conflict? on checking theme or plugin conflict, you can use plugin such as this You can do the above using Troubleshooting mode: Tools -> Site Health -> Troubleshooting -> Enabled Troubleshooting mode. That will disable all plugins and switch to a default theme and then allow you to enable specific plugins troubleshooting mode. Once disabled you will revert back to the current state. thanks |
|
|
Hi there Rio – //Custom shortcode for displaying the tickets on events/class page. $display_tickets = ‘[ESPRESSO_TICKET_SELECTOR event_id=”‘. $get_event_post_id .'”]’; return $display_tickets; function searchfilter($query) { if ($query->is_search && !is_admin() ) { return $query; add_filter(‘pre_get_posts’,’searchfilter’); function de_ee_tweak_event_list_exclude_ticket_expired_events_where( $SQL, WP_Query $wp_query ) { |
We do have reported bug regarding to some snippet not working in 5.0.19, this is being taken care of by our developers the fix is still under series of testing, once it passed the test it will be roll out soon. Thanks |
|
|
Ok – would any of this have an effect on losing date/times in the admin? They are reporting that when they go in to edit a class date/time (for example they sell class seats on site and not through the website on occasion, they will login, go to the class and change the number of seats available). They will update the number of seats for one of the date/times – UPDATE the class and then find that ALL the datetimes are GONE. I cannot duplicate this issue – however it does not seem to happen all the time. THEY continue to have it happen to them… Any thoughts on this please? They are truly freaking out. |
Hi Shelly, No, it shouldn’t but if your happy for me to clone the site locally and can try to reproduce that locally without messing up your events. If that’s ok, I’ll log in and use Updraft to clone the site then just need a run down of the steps they are taking for this to happen. — For the issue you are currently getting on the front end, I can give you an updated version of the snippets above to fix the issue for now but it may also need to be updated again once we ‘fix’ core. The issue is with the code after this line:
Replace that code with this: https://gist.github.com/Pebblo/f6999040cf2df3965c1b75ac99f9c20b But again, this may need to be updated. |
|
|
Oh great! I will do that. Perfect. |
|
Odd thing happens when I try to replace that code |
|
Was I supposed to replace everythign below that line, or just that one function. |
|
Yeah. I’m an idiot. Sorry. WOrking now |
Can you send me the credentials using this form: https://eventespresso.com/send-login-details/ — The system throwing a fatal error showing 300MB of memory has been used when updating a file… is possibly a symptom of whatever is happening when your users update events. If that’s happening when they update it can have unexpected results, half a request runs and updates the event but runs out of memory when updating the datetime relationships for example. |
|
|
Do you know if part of the script I replaced here in the functions.php file could result in sold out classes not showing, because now the client is complaining that our sold out classes are not showing with the shortcodes. They want people to be able to sign up for a wait list. Was that possible before I replaced our code with this new stuff? |
I’ve been digging into this and I’m using the above code to filter out the events in the same way you are, sold out events still show up for me: https://monosnap.com/file/m3DuLrCBS3gc5vSSQ7znQ1sp4LqL6X The only way the above snippet should be filtering those events out is if all of the tickets in the event have the Ticket Sale end date set in the past (in which case Waitlist options would be available anyway). Can you link me to a list that they think events would normally show the waitlist event on and a sold out event that should be showing on that list? I’ll check into both. |
|
|
We have figured out this particular issue. But would love to know the cause of the disspearing datetimes (literally tickets and dateimes get deleted) upon Updating the event’s available seats. |
The support post ‘Do you guys know of any issues with Shortcodes & Elementor?’ 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.