Support

Home Forums Event Espresso Premium Adding City, State/Province and Country to Event List

Adding City, State/Province and Country to Event List

Posted: February 14, 2020 at 3:07 pm

Viewing 2 reply threads


mfpweb

February 14, 2020 at 3:07 pm

I want to only add the City, State/Province and Country to the Event List in regular text under the dates and times. Not the venue. Not in a heading. I turned on Display Venue Details for the Event List and got too much information. How do I pare it down to just City, State/Province and Country?
https://www.musicforpeople.org/wp/events-music-improvisation-workshops/

Thanks for your help.
-Jan


Josh

  • Support Staff

February 14, 2020 at 3:51 pm

Hi Jan,

You can turn off Display Venue Details for the Event List, then add this code snippet to your site:

https://gist.github.com/joshfeck/c7ca07d8f9c1f990942df2b742538112

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

What that will do is display only the following:

City, State/Province
Country


mfpweb

February 14, 2020 at 4:41 pm

Thanks for the quick reply! Works perfectly.
–Jan

Viewing 2 reply threads

The support post ‘Adding City, State/Province and Country to Event List’ 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