Event list with search bar as one shortcode?
-
Hello. I’m using the latest Events Manager version 6.4.6.4. I am trying to recreate the following page, which is a search bar and a list of events, using shortcodes:
https://eventsmanager.site/events/
I would like this page to be independent of the plugin’s page settings, thus I am in need of shortcodes that will work in any page, unlike [event_search_form] which requires a specific page to be configured.
I am using the [event_search] shortcode (which seems to be absent from the documentation) which displays a search bar correctly, but without any search results displayed by default i.e. an Events list being there on the first load.
On the other hand, if I use the [events_list] shortcode, e.g. like this:
[events_list scope="all" category="356" limit="10" pagination="1" show_search="1" has_search="1"]
… I’m getting just the list of events without a search bar, and it won’t work coupled with a search bar of a separate [event_search] shortcode. The attributes show_search and has_search work fine for [events_calendar] but not for the list.
Anyone with a clue of what I am missing here?
- The topic ‘Event list with search bar as one shortcode?’ is closed to new replies.