Support

Home Forums Event Espresso Premium Custom Text

Custom Text

Posted: June 26, 2016 at 7:09 pm

Viewing 3 reply threads


Christian Rogers

June 26, 2016 at 7:09 pm

Hello!
Currently, we offer registration to face-to-face workshops for continuing education courses. We have to stop our course sales one week before the course starts. We would like to have a disclaimer to state that the customer needs to call us if they are within the one week window. Is there a way to do this? Thanks!

Chris


Lorenzo Orlando Caum

  • Support Staff

June 27, 2016 at 7:18 am

Hi Chris,

Where on the single event page are you wanting to show that information?

Here is an example of how to add some static text before or after the event details area:

https://gist.github.com/lorenzocaum/2b2d419d092bf13d9116


Lorenzo


Christian Rogers

June 27, 2016 at 7:55 am

Hi Lorenzo,

Maybe this will help. Below is a link to one of our course pages. On that page,we list multiple events (different dates and cities). Once the person gets past the window to buy tickets but the event hasn’t started yet, I’d like to replace the Register button with text that tells them to call.

http://www.greatseminarsandbooks.com/acute-care-rehabilitation-online-registration/

Not sure if this is possible but thought I would ask. Thanks!


Josh

  • Support Staff

June 29, 2016 at 1:21 pm

This is possible. I can’t tell how it was set up to not display the ticket selector at all for some of those events, from viewing your web page, so this code may or may not work for you:

add_action( 'AHEE__ticket_selector_chart__template__after_ticket_selector', 'my_custom_message_after_ts_table' );
function my_custom_message_after_ts_table() {
    if ( ! apply_filters( 'FHEE__EE_Ticket_Selector__display_ticket_selector_submit', FALSE ) ) {
        echo '<p class="ticket-selector-submit-btn">Please call {phone number}</p>';
    }
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 3 reply threads

The support post ‘Custom Text’ 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