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
May 29, 2018 at 10:26 am
Add New Note to this Reply
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
Add New Note to this Reply
Yes, just to the individual event pages. That is the location we want the text.
Tony
May 30, 2018 at 7:34 am
Add New Note to this Reply
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
Add New Note to this Reply
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
June 5, 2018 at 11:03 am
Add New Note to this Reply
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