Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Created February 25, 2016 01:42
Show Gist options
  • Save lorenzocaum/46a1b8e30e125df109c0 to your computer and use it in GitHub Desktop.
Save lorenzocaum/46a1b8e30e125df109c0 to your computer and use it in GitHub Desktop.
How to translate the content in the Events Split View Template add-on for Event Espresso 4

We've made it easy to translate certain content that is used by the Events Split View Template add-on.

By default the following messaging / verbiage is used:

The label for the category filter is called Filter by Event Category.

The word that separates the first start date and the start time is at.

The messaging that appears before the cost of the event is Starting from.

There are parameters available that will allow you to change the content mentioned above via the shortcode.

Here is an example and here is a preview of how it will appear (http://cl.ly/0Z3o3d3O1g0E):

[ESPRESSO_EVENTS_SPLIT_TEMPLATE event_category_filter_text="Browse by event category" start_date_start_time_separator="" starting_from_text="Cost: "]

Other information such as the register button text and sold out text can also be changed by using parameters for the shortcode. You can learn more here:

https://gist.github.com/lorenzocaum/621f403ca601b70c78d8#link-text-shortcode-parameters

@lorenzocaum
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment