List by City
-
I see a lot of examples of shortcode for Events Manager that include ‘country=”us”‘
I want to do this same thing, but by city. I tried using ‘city=”<cityname>”‘ as expected, but it is still just loading every event in the database. How can I accomplish what I’m trying to do?
From Events Manager documentation: https://wp-events-plugin.com/documentation/shortcodes/
Event Shortcodes[events_list]
Displays a list of events. If you enter html and placeholders within the shortcode, each event will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the event, location and general search attributes.Example:
[events_list scope=”tomorrow” country=”US”]<p>#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES</p>[/events_list]
- The topic ‘List by City’ is closed to new replies.