Support

Home Forums Event Espresso Premium Registration button on single event page

Registration button on single event page

Posted: July 25, 2014 at 1:56 pm

Viewing 4 reply threads


Jacqueline Maslowski

July 25, 2014 at 1:56 pm

Hi-

On the single event page, I would like to place the registration button before the event details. How would I go about doing that? Thanks!


Lorenzo Orlando Caum

  • Support Staff

July 25, 2014 at 8:37 pm

Hi, the ticket selector has been relocated to the top of the page is the latest version of Event Espresso 4.2.9.


Lorenzo


Jacqueline Maslowski

July 26, 2014 at 2:53 am

I’m using version 4.2.6p. Unfortunately I can’t upgrade to the latest version because this was a super rush project and I had to make changes directly to the core. Also, I’d like the registration button to appear both before and after the event details. Could you let me know how I would go about doing this in version 4.2.6p? Thanks!


Lorenzo Orlando Caum

  • Support Staff

July 26, 2014 at 9:00 am

Hi,

You can make that change to the content-espresso_events.php file:

https://gist.github.com/lorenzocaum/b34ea8130224a780dcbd

The ticket selector is on line 31, it needs to be moved above the event details.

This file is also needed:

https://gist.github.com/lorenzocaum/b34ea8130224a780dcbd#file-single-espresso-events-php

You can download both of them and upload to this location:

wp-content/themes/yourthemefolder

Then edit the content-espresso_events.php file to move the ticket selector higher.


Lorenzo


Jacqueline Maslowski

July 26, 2014 at 5:19 pm

Thank you so much — that really should have worked…but for some reason it didn’t (maybe I had already messed everything up too much). What I ended up doing was putting the ticket selector call

<?php espresso_get_template_part( ‘content’, ‘espresso_events-tickets’ ); ?>

in the content-espresso_events-details.php file, and now it’s working perfectly.

Thanks a bunch!

Viewing 4 reply threads

The support post ‘Registration button 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