Hi,
Sorry to resurrect this post but I have a question.
I too want to show the events search form in a widget rather than at the top of the events list. As per your suggestion above, I copied the search form code located at:
events-manager\templates\events-search.php
into a PHP-ready widget (using the PHP Code Widget plugin). The events search form shows up in the widget just fine. However, when I enter search text and click “Search”, the events page appears to refresh but continues to show the entire list of events rather than only the ones that match the search criteria.
Since I thought it might be a plugin conflict, I tried inserting the search form into a plain Text widget using the [events_search_form] shortcode. To do that, I added this line to my theme’s functions.php file so that the widget could process shortcodes:
add_filter(‘widget_text’, ‘do_shortcode’);
This method also showed the search form in the Text widget, but it didn’t give me any search results when I tried it.
Interestingly, when I turn on the “Show events search” option for the Events List/Archive page in the Events admin to add the search form back to the top of the page(so that I have two search forms — one at the top of the content and one in the widget) and I use the widget’s search form to perform the search, the page correctly refreshes with the list of matching events.
Finally I tried going back to the default theme to see if perhaps it was my theme that was causing the problem. However, even when using the Twenty-Ten theme, the search form in the widget doesn’t return any results.
Any thoughts or suggestions?
I’m using Events Manager version 5.0.3 and WordPress 3.3.1. Thank you for this fantastic plugin.
Anna Marie
https://www.ads-software.com/extend/plugins/events-manager/