MEC custom output text on single event page

Hi Guys,

I’d like to customise the output text on the single event page - see image attached. Can you point me in the right direction.

Cheers :slight_smile:

Hey @dcc,

Thanks for reaching out!

To change the text on your single event page, I suggest using the gettext function. Please check here how it’s done:

Hope that helps.

Thanks Marc, This worked for one change but I need to make about 3 but when I try to replicate it generates an error "Cannot redeclare custom_text_translate()..." because I’m defining the function twice. Is there any way I can get around this?

Cheers :slight_smile:

Hi @dcc,

It is not very clear why you are defining the function twice. If that is required, you can change the function name and call that function name in the action HOOK from which you are calling it. If that does not help, I would suggest you hire a developer or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.

Thanks

Hi Tristup, Figured it out and got it working for multiple changes. Tiny mistake in code - always the way! :grinning:

Hey @dcc,

That’s great! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.