Support

Home Forums Event Espresso Premium Removing 'Free Event'

Removing 'Free Event'

Posted: January 25, 2013 at 10:11 am

Viewing 2 reply threads


Native Plant Salvage

January 25, 2013 at 10:11 am

Hello!

We have an upcoming event that requires folks to pay at the door and not through Event Espresso. The event is a fundraiser dinner and there are suggested donation levels,but we need folks to pay at the door. How can I remove the words ‘Free Event’ from the registration page.

Thank you!


Jonathan Wilson

January 25, 2013 at 4:03 pm

Hello there,

You can add the following code to the style.css file of your theme to remove the “Free Event” text from the event.

/* Remove "Free Event" text from event description */    
.free_event {
    display: none;
}


Josh

  • Support Staff

January 25, 2013 at 5:20 pm

Hi there,

Since hiding it from the registration page doesn’t remove it from everywhere else it will display, I would suggest changing the wording from “Free Event” to something like “Donations accepted at the door” or the substance. You could try to hide each instance with CSS, but if you have other events that people pay for, that might get complicated.

Most text strings in Event Espresso are translatable. So, while you could go through multiple template and function files to reword these, it’s a lot cleaner and easier to maintain if you create your own “English” translation file. Here’s a brief outline on how to do this:

1) We recommend poedit for working on translation files: http://www.poedit.net/

2) After you install poedit, you can download a copy of event-espresso and open the /languages/event_espresso-en_US.po file in poedit.

3) Use the Find tool to pull up the text string you need to modify. In this case “Free Event”

4) Enter your text string modification in the lower text area.

5) Save, then upload the newly generated .mo file to the wp-content/plugins/event-espresso/languages/ directory on your server.

6) As of Event Espresso 3.1.30, we’ll be adding a second location for language files so you will not have to worry about losing the customizations on an update. So I would recommend making a backup of that .mo file, and once you update to 3.1.30, you can upload it to /wp-content/uploads/espresso/languages.

Viewing 2 reply threads

The support post ‘Removing 'Free Event'’ 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