Home Forums Event Espresso Premium Duplicate Available Tickets Box

Duplicate Available Tickets Box

Posted: May 31, 2018 at 4:34 pm


May 31, 2018 at 4:34 pm

HI there,

I’m using the following code to move the ticket selector below the dates and wp loop on my page template.

//* Event Espresso Ticket Selector Move Function

add_filter ('the_content', 'my_move_stuff_around', 100 );

// move stuff around
function my_move_stuff_around( $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', 122);
    return $content;

// add tickets after the datetimes
function my_add_event_tickets( $content ) {
    return $content . EEH_Template::locate_template( 'content-espresso_events-tickets.php' );

It’s worked until recent updates and now shows a duplicate ticket selector. How can I remove the duplicate?



May 31, 2018 at 4:35 pm

You can see the effect here:


  • Support Staff

May 31, 2018 at 4:40 pm

Hi Jos,

You can remove the code and go to Event Espresso > Events > Templates where there are now options to move the location of the Ticket Selector box.

The support post ‘Duplicate Available Tickets Box’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 9 months, 3 weeks ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!