Correction, when I test the search it says my no events message.
can you share sample link to your site for us to see and analyze?
thanks
I had hidden the plugin’s search and added my own on the right. Which works fine. I still would like to know why the plugin’s search is not working. Here is the page:
http://www.middlesexcountyfair.com/events
The information for the upcoming fair has not been populated. I changed the date on one of last year’s events and added it to the daily events category. I would appreciate any help. Thanks…. Wayne
It could be a conflict somewhere. Can you test with the default WordPress theme running and all other plugins deactivated? Does the standard search work then?
For a second time, I turned off all the plugins except the events manager. At the same time I switched the theme to a default one. The search still did not work.
The standard search does work that is on the right. I had added this in the search form:
<input type="hidden" name="post_type" value="event" />
and it seems to work in just finding the one live event.
If I can’t get the plugin search to work, I’ll use that.
this works for me, if you try to remove that line, does it work?
What works for you? My search or the plugin search?
There is one event, wrestling. If I type it in the plugin search it doesn’t find it and it doesn’t find the result in the result in the category in the advanced search: daily event.
On my reach on the right,
If I remove the hidden field retracting the post type in my search it will search the whole site.
Hiya,
I noticed you have content above the search form – can you tell me how you added that please? It’s possibly relevant to your issue.
Thanks,
Phil
I thought of that.
I tried taking out all of the contents in the /events CMS page and I see the event, but the search is still not working.
To answer your question about how we added the content on the page, I followed the directions on the /events CMS page:
This page corresponds to the Events Manager Events page. Its content will be overriden by Events Manager, although if you include the word CONTENTS (exactly in capitals) and surround it with other text, only CONTENTS will be overwritten. If you want to change the way your events look, go to the settings page.
I’m wondering if you have a default country selected under Events > Settings > Formatting > Search Form (United States, for example) but don’t have any events assigned to that location?
BINGO! I changed the country selection to “no default country” and now it works. Thanks!!!
I have tried:
– Updating EM Plugin
– Deactivating all other plugins
– Using default template
– Clearing cache
– No Default Country
– Wotdpress Search doesnt work
– I dont know where to try and place the <input type=”hidden” name=”post_type” value=”event” />).
Nothing seems to work for me. I am using WP 3.5.1 EM 5.5.2
http://www.thehappz.com
Musgod, to answer your question, before I got the plugin search to work, by changing my default country to no default country, I used the wordpress search which I hadn’t used on the site. I put the hidden field in the searchform.php file within the form tags and I put
<?php get_search_form(); ?>
where I wanted the search to appear on my events template page.
It successfully searched the events data only.
Once these guys helped me get the plugin search to work, I removed the one I created.
I hope this helps.
OK, thanks. what you suggested worked. What did they do to get your EM Search working? I would much rather that then the hack 🙂