Support

Home Forums Event Espresso Premium Adding text in event pages

Adding text in event pages

Posted: May 29, 2018 at 9:17 am

Viewing 5 reply threads


countyit

May 29, 2018 at 9:17 am

We would like to add some text in between the date filter and ticket selector on the individual event pages. How would I go about doing this?


Tony

  • Support Staff

May 29, 2018 at 10:26 am

Hi there,

Do you only want to add this on the individual event pages?

Just to confirm, is this the location you are referring to? http://take.ms/anlcQ


countyit

May 29, 2018 at 1:53 pm

Yes, just to the individual event pages. That is the location we want the text.


Tony

  • Support Staff

May 30, 2018 at 7:34 am

For that specific location you’ll need to use some Javascript, something like this:

https://gist.github.com/Pebblo/8b1ad370832f740c48375b05cc1a1a02

Change line 10 to whatever output you prefer and add that function to a custom functions plugin, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


countyit

June 5, 2018 at 9:56 am

We’ve removed the date filter as it was unnecessary for our site. The text is gone now. How would I go about adding it back?


Tony

  • Support Staff

June 5, 2018 at 11:03 am

We’ve removed the date filter as it was unnecessary for our site. The text is gone now.

Yeah, that because the text is being added ‘after’ the dropdown element, as it’s not there now it won’t show.

How would I go about adding it back?

You can now just straight up PHP to add the text as you don’t need to worry about the datetime selector, remove the first function and use this:

https://gist.github.com/Pebblo/8b1ad370832f740c48375b05cc1a1a02#file-using_php_method-php

Viewing 5 reply threads

The support post ‘Adding text in event pages’ 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