Support

Home Forums Event Espresso Premium Position of Tickets Under Event Registration

Position of Tickets Under Event Registration

Posted: December 12, 2014 at 12:16 pm

Viewing 3 reply threads


prgdev

December 12, 2014 at 12:16 pm

I created an event through Event Espresso Event Registration and added ticket options to this event.

On the website the ticket options appear above the event text.

I would like for the ticket options to appear below the event text.

How can I make this happen?

Thank you,
Michele


Lorenzo Orlando Caum

  • Support Staff

December 12, 2014 at 12:34 pm

Hi Michele,

Yes, you can make this change. Add the sample code here to your child theme’s functions.php file or a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/):

https://gist.github.com/a33405557a2a065779ea


Lorenzo


prgdev

December 12, 2014 at 12:49 pm

The wording came out like this when I opened the link. Do I insert this exact wording into the ‘Text’ tab of the Event I created?

function my_add_event_tickets( $content ) {

return $content . EEH_Template::locate_template( ‘content-espresso_events-tickets.php’ );

}


Tony

  • Support Staff

December 12, 2014 at 1:47 pm

Hi,

You do not add this code to the Event Editor.

The code would need to be placed within either your themes functions.php file, or (a more preferred method) is to place the code within a site specific plugin and upload that to the site so that if you update your theme that code will not be lost.

The link @lorenzo provided above guides you through how to create a site specific plugin, then you simple place the code provided within these two lines of your plugin:

/* Begin Adding Functions Below This Line */

/* Stop Adding Functions */

Viewing 3 reply threads

The support post ‘Position of Tickets Under Event Registration’ 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.

Event Espresso