Support

Home Forums Event Espresso Premium Changing the location of the ticket selector and the date/times

Changing the location of the ticket selector and the date/times

Posted: December 10, 2014 at 6:53 am

Viewing 1 reply thread


skleijer

December 10, 2014 at 6:53 am

I am using the latest WordPress version and EE 4.4.6p. In the events page, the ticket selector can be set to show. But I want first to show information about the event and after that the ticket selector and the that time. How do I change that?

Kind regards,
Sya


Tony

  • Support Staff

December 10, 2014 at 8:40 am

Hi Sya,

There are couple of ways to achieve this. One option is to use a function such as this:

https://gist.github.com/Pebblo/def080a7134c34b00047

Within your themes functions.php file or a site specific plugin.

However that function loads the Description, then the datetimes then the ticket selector. You can swap this around easily by changing the priority of the add_filter() calls on lines 11 and 12. Changing them from this:

add_filter( 'the_content', 'my_add_event_datetimes', 121);
add_filter( 'the_content', 'my_add_event_tickets', 122);

to this:

add_filter( 'the_content', 'my_add_event_datetimes', 122);
add_filter( 'the_content', 'my_add_event_tickets', 121);

However this will look slightly strange to the ticket selector containing the Submit button – http://take.ms/qCQBU

Unfortunately this can not be easily changed, you may prefer the function as it is now showing Description, Datetimes then Ticket Selector – http://take.ms/oom2n

Viewing 1 reply thread

The support post ‘Changing the location of the ticket selector and the date/times’ 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