Posted: February 1, 2017 at 11:55 am
|
I’m not sure when this showed up but we just noticed that we’ve got two sets of the Ticket tables: https://portlandfashioninstitute.com/events/learn-to-sew-8/ Looking at the content_espresso_events template, I see the code as (can you see where it’s coming from?) I will likely do some testing, but a helping hand would be appreciated. Thanks! `global $post; <?php if ( is_single() ) : ?> <div id=”espresso-event-header-dv-<?php echo $post->ID;?>” class=”espresso-event-header-dv”> <div class=”espresso-event-wrapper-dv”> <?php elseif ( is_archive() ) : ?> <div id=”espresso-event-list-header-dv-<?php echo $post->ID;?>” class=”espresso-event-header-dv”> <div class=”espresso-event-list-wrapper-dv”> <?php endif; ?> </article> |
Hi there, The extra table wouldn’t come from the template. May I ask if you go in to edit the event, does the event description have an |
|
|
Nope… Any other ideas Josh. It’s so WEIRD… |
May I ask are any of Event Espresso’s templates copied over to the active WordPress theme? If so, which templates? |
|
|
content-espresso_events.php |
|
I tested what would happen if I deleted the ticket_selector_cart.template.php page and both tables disappeared – and I was left with two Add to Event Cart buttons…. |
Hi there, Can you check in the theme’s functions.php file -or- if you have a plugin set up for adding in functions, you look for some code that looks like this:
If you find something similar to the above, you can remove that line of code, save the file, then check to see if the duplicate is removed. |
|
|
Hi Josh – I did find that line of code. Removed it… but 🙁 no change… -S |
Can you try temporarily removing the customizations (file by file) until the double goes away? An unmodified site with Event Espresso will show the Ticket Selector one time. We can also help with troubleshooting if you can post all of the customizations for Event Espresso into a paste bin or gist. |
|
|
Those would be any EE templates that exists inside the theme directory, correct? |
That’s correct, any EE templates that are for displaying an event or a template part for part of the display of the event. Other EE templates for displaying venues, attendees or anything like that wouldn’t affect the display of the Ticket Select. |
|
The support post ‘Duplicate Available Ticket Tables showing on event page’ 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.