• Hi all,
    actually we’re using

    [event_search_form category="12"]

    which works quite well for “fixing” a specific search to get results only of a selected category. Now we would like to extend it with scope=”all”, like:

    [event_search_form category="12" scope="all"]

    in order to be able to search for past and also ongoing and future events, at least we’re interested in ongoing (already started) events to be included, is this possible using the shortcode or do we need to edit the template?

    plugins/events-manager/templates/events-list.php/events-list.php

    Thanks for infos,

    I.

    https://wordpress.org/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hiya,

    To clarify – are you trying to get a search results page, or just a list of events?

    Thanks

    Search results page, for listing we know that scope works fine.
    Thanks for suggestions Philip,

    I.

    Thanks Tiger Team, I used your code to workaround my question as well. But I had to add some things.

    1. In admin options for the search form, set show Category to Yes.
    2. added this to the event-manager.css:

    div.em-search-advanced div.em-search-category {display: none;}

    3. Now this works on the different search pages:

    [event_search_form category=”11″]

    (the search results show only the events from the category id 11. The user doesn’t see the option to change the category thanks to the css display none.)

    It works fine for me now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search scope in event_search_form shortcode’ is closed to new replies.