Seeing a duplicate ticket selector for all my events.
Narrowed it down to issue with Divi theme. Wondering if there is anything I can do to fix this issue. I’ve rolled back to older theme version but still persists.
I have an older copy of Divi (3.0.71) and I’m not seeing that issue. May I ask are there any Divi plugins/extensions/add-ons activated on the site, and if so can you try temporarily deactivating those to see if that fixes the issue?
There was a filter in the functions.php for the child divi theme that I guess was conflicting
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_filter ('the_content', 'my_remove_event_tickets', 100 );
// remove tickets
function my_remove_event_tickets( $content ) {
if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) {
remove_filter( 'the_content', array( 'EED_Event_Single', 'event_tickets' ), 120 );
add_filter( 'the_content', 'my_add_event_tickets', 121);
}
return $content;
}
// add tickets after the content
function my_add_event_tickets( $content ) {
return $content . EEH_Template::locate_template( 'content-espresso_events-tickets.php' );
}
Viewing 4 reply threads
The support post ‘Duplicate Ticket Selector’ 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.