Posted: December 10, 2024 at 2:59 pm
Hi, I can’t get the shortcode [ESPRESSO_EVENTS limit=1] to appear correctly on my home page https://nsa-austin.com/. I want just the featured image, title and date/time listed with a button to go to the event. Instead, the entire event posting is showing. What am I missing? |
|
Anyone??? |
|
Hi there, My apologies for missing your thread. The You’ll find a section for ‘Events List Pages’ You will need to disable the ticket selector there. Set the ‘Display Description’ option to either none and ‘Display Datetimes’ to yes, then save. Does that change the output to the above? |
|
Thank you for getting back to me. Those are the setting I was previously using. I use EventEspresso for a few other associations I work with and the shortcode is acting in the way I expect, so I know the shortcode is sound. The Events page- https://nsa-austin.com/events-list/- is behaving exactly as we need it to. The issue is that the section on our home page is supposed to just show the featured image, event title, and view details button- now shows the complete event listing. https://nsa-austin.com/ The full event description and the ticket selector previously were not shown on the homepage using the shortcode. |
|
This may be unrelated, but now I am having a issue with the tickets for my events. I have a few different types of tickets listed (Member, partner, guest). No matter which type of ticket you select, you are taken to the partner ticket (higher cost). And, when you try to check out the registration page is stuck- you can’t get to the payment screen. |
|
Yeah, that’s really strange! I can’t reproduce that so something weird is going on on the site itself there. Your using Divi, right? How are you adding the shortcode to the page?
That can pretty much only be caused by caching as far as I’m aware. Any caching plugins? Caching server? Which host are you using? |
|
Yes, I am using Divi on the site. To add the shortcode, I am using the Code Module. On the ticket selection issue- I cleared the cache on the site and went and cleared the server side as well (host is BlueHost). After doing that, I got the Member ticket at the Member rate and the sale went through. When I selected the guest rate, I got the Member ticket. |
|
Hi- I hate to push, but I am about to be off for a week and am concerned about ticket sales (or lack of) while I am away. Any additional thoughts on what I can do to fix my ticket selection issue? And, would you prefer that I move this to a new thread since it’s a different issue? |
|
Same thread for this is fine.
Cleared that caching within which plugin? Just clearing the caching won’t fix the problem; it’ll just clear the current cache, and then it’ll happen again on the next request once it’s cached. You’ll need to exclude EE from caching enabled on the site: https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ What type of caching is enabled on BlueHost? You can exclude EE from caching within Bluehost follow their docs here: https://www.bluehost.com/help/article/wordpress-caching — I’ve been digging into the shortcode issue but so far I can’t reproduce it, do you have custom EE template files within a child theme at all? |
|
Thank you for getting back to me so quickly. I am going to work on the caching instructions you sent. The server side cache clearing is just a button on their site that I click. Maybe that also gives you some insight on my abilities. π I did just discover that we have a pretty outdated PHP version – 7.4. Is this part of our issue? |
|
No, this wont be related to the PHP version. You can’t cache eCommerce requests like Event Espresso, caching works by basically resuing previous request so you don’t have to do all of the processing each time. But for eCommerce each request is unique… your event selection is different from mine etc. So caching needs to be disabled one EE’s pages for it to work or you’ll keep running into the above. I’m guessing you don’t have FTP credentials for the site? |
|
I realized after I went through your links that I had no control over the cache clearing- it was all or nothing. So, I installed a cache plugin and was able to exclude the EE pages. And… it worked!! Thank you so much for your help! |
|
Awesome π I’m glad that worked for you. So… now back to your original shortcode issue π Is |
|
Yes- now I can breathe again. π Yes- that is the full shortcode I am using. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account