Support

Home Forums Event Espresso Premium Changing order of tickets and datetimes on single event page

Changing order of tickets and datetimes on single event page

Posted: August 1, 2015 at 11:28 am


Nick

August 1, 2015 at 11:28 am

Hi,

I am trying to reverse the order of display of datetimes and tickets on single event pages. What EE4 template do I need to alter to achieve this? I thought it would be content-espresso_events.php in Espresso_Arabica_2014, but it would seem not, as I have made changes here and nothing changes on the page.

I would be grateful for any help.

Thanks,

Nick


Tony

  • Support Staff

August 3, 2015 at 4:25 am

Hi Nick,

Event Espresso uses your theme to output the event data as we filter the_content() to add the details.

The Arabica child theme is an example of how you can output EE specific pages using your theme, EE does not use these files to output the data. Editing templates from within the plugin directory would also need to be re-done after each Event Espresso update as the changes will be overwritten.

You can however change the order of the single event output using a function like this:

https://gist.github.com/joshfeck/1151c89082ccb5c0b478

Which places the ticket selector at the bottom of the content, is that what you are looking for?

I would recommend creating a Site Specific Plugin to use this.


Nick

August 3, 2015 at 4:01 pm

Thanks Tony. That was exactly what I was after!

Nick


Tony

  • Support Staff

August 4, 2015 at 3:17 am

You’re most welcome, Nick.

I’ll mark this thread resolved.

The support post ‘Changing order of tickets and datetimes on single 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.

Event Espresso