Home Forums Event Espresso Premium Single Event Template

Single Event Template

Posted: August 10, 2020 at 12:49 pm

Matt Shane

August 10, 2020 at 12:49 pm

Hello –

The single event template is pulling a layout with a left and right sidebar where widgets populate the content in the sidebars. Can we simply make this full width please? I thought it was pulling for the Blog-Single layout options in the settings but when I change the Blog_Single layout it has no impact. Can you please advise? Thanks!


  • Support Staff

August 10, 2020 at 4:03 pm

Hi Matt,

EE events are a custom post type, so the output of those posts is determined by the theme itself and we just hook into the_content to add the additional event details needed.

Which theme are you using? Can you send me a copy so I can take a look?

Matt Shane

August 11, 2020 at 4:09 pm

we are using Avada. Do you want the zipped files? Thanks!


  • Support Staff

August 12, 2020 at 7:47 am

Yes, please.

You’ll need to host the zip file somewhere and post the link here (you can make you reply private if preferred) or send it via email although due to size limit syou’ll likely need to use something like WeTransfer to send it.

The email address you can use is support[at]

Matt Shane

August 12, 2020 at 10:35 am

Hi Tony –

I was able to do it with CSS. Thanks for your offer for help. One smaller question: is there a way to change the text for EVENTS throughout to something different?

For example the checkout button says ADD EVENT TO CART – can we either remove the word event or change it? Events doesn’t really fit so if we could change that word throughout that would be ideal. Thanks!


  • Support Staff

August 14, 2020 at 4:18 am

You can change the strings yes, but not globally with a single change.

First, have you changed the ‘events’ slug in the settings?

Event Espresso -> Events -> Templates -> Event List Pages -> Events slug.

If you change that you’ll also need to flush your permalinks by visiting Dashboard -> Settings -> Permalinks (Just visiting the page should flush them but if you want you can click save without making any changes to confirm).

That will alter the events slug.

For example the checkout button says ADD EVENT TO CART – can we either remove the word event or change it?

We don’t have an ‘ADD EVENT TO CART’ string, we do have ‘ADD TO EVENT CART’, which may sound nit-picky bt if the string is different on your site it means it has likely been changed already, so is that the correct string?

If its Add to Event cart, then ‘Event Cart’ is filtered and you can use something like this:

You can return whatever you prefer to be used in place of ‘Event Cart’ there, but it will only change that specific text string.

Or translate it using the string here:

More details on translation here:

(The filter is ‘faster’ but the translations are easier to manage if you change a lot of strings)

To change it throughout you need to identify each usage of ‘Event’ and filter/translate the specific string to suit, there’s no global change for it.

Matt Shane

August 14, 2020 at 8:48 am

Thanks for the detailed response and direction Tony. Much appreciated.


  • Support Staff

August 14, 2020 at 10:36 am

You’re most welcome.

If you find a string you can’t translate/filter just let me know and I’ll check into it.

Matt Shane

August 14, 2020 at 1:36 pm

This is what I used:

//* Please do NOT edit this function.  It replaces string values in EE

function mycustom_filter_gettext( $translated, $original, $domain ) {
    // This is an array of original strings
    // and what they should be replaced with
    $strings = array(
        'Register' => 'Sign up',
        'Confirm and go to payment page' => 'Complete registration',
        'No events available...' => 'No upcoming classes at this time...',
        'Events' => 'Tennis Classes',
        'Remaining' => 'Spots Available',
        'Sold' => 'Spots Reserved',
        'Event Phone:' => 'Contact Phone Number:',
        'Qty*' => 'Spots - Qty*',
        'tickets' => 'spots',
        'Maximum number of tickets allowed per order for this event' => 'Maximum number of spots allowed per order for this tennis class',
        'Available Tickets' => 'Available Spots',
        'Event Datetimes' => 'Class Dates',
        'Event Tickets & Datetimes' => "Class Dates & Spots",
        'Event Espresso' => " Dexterity Tennis Camps",
'The following events do not require payment at this time and will not be billed during this transaction. Billing will only occur after the attendee has been approved by the event organizer. You will be notified when your registration has been processed. If this is a free event, then no billing will occur.' => 'The following event is by invitation only, and therefore requires pre-approval by Dexterity Tennis. Billing will only occur after the registrant has been approved, at which point you will be notified via email to complete payment. Please click the button below to request approval. Thank you.',
        // Add some more strings here
    // See if the current string is in the $strings array
    // If so, replace its translation
    if ( isset( $strings[$original] ) ) {
        // This accomplishes the same thing as __()
        // but without running it through the filter again
        $translations = get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    return $translated;
add_filter( 'gettext', 'mycustom_filter_gettext', 10, 3 );


  • Support Staff

August 14, 2020 at 2:08 pm

No translation for ‘Event Cart’?

I’m guessing you used the filter for it?

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 month, 1 week ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!