Hello.
We are using HTML and Embed code snippets to populate text elements with event espresso listing. Currently We are trying to hide tickets with status: upcoming, or expired. We are using the following codes in a custom Css plugin.
Can I ask why you are using the embed code an nort the ticket selector shortcode?
[ESPRESSO_TICKET_SELECTOR event_id=your_event_id]
The reason the above is happening is your custom CSS is not loading within the iframe of the embedded ticket selectorm switching to the above shortcode will continue to use the styles loading on the event page.
The main reason is that the embed code looks nicer – the page layout is much better. Is there a way to hide upcoming and expired status tickets when using the embed code?
That function loads a ‘custom_iframe_css.css’ file from within /{your theme}/espresso/ which you will need to manually create and add the above CSS to remove the tickets from view.
Viewing 4 reply threads
The support post ‘Hiding upcoming tickets in embed and html code’ 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.