• Resolved wjgoodman

    (@wjgoodman)


    I had the events manager installed on a site for a yearly event. I updated wordpress and all the plugins and my events manager search is no longer working. I tried turning off all the other plugins and tested it, but it still didn’t work. I tried adding a path to JQuery in the header, but that didn’t work either. I am using a custom theme. Does anyone know what I am missing in my theme to allow the search to work. When I view the search in the demo site I see a loader occur and then it returns result under it or says no events. When I do this on my site the page refreshes, but nothing happens.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter wjgoodman

    (@wjgoodman)

    Correction, when I test the search it says my no events message.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    can you share sample link to your site for us to see and analyze?

    thanks

    Thread Starter wjgoodman

    (@wjgoodman)

    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?

    Thread Starter wjgoodman

    (@wjgoodman)

    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.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    this works for me, if you try to remove that line, does it work?

    Thread Starter wjgoodman

    (@wjgoodman)

    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

    Thread Starter wjgoodman

    (@wjgoodman)

    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?

    Thread Starter wjgoodman

    (@wjgoodman)

    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

    Thread Starter wjgoodman

    (@wjgoodman)

    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 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Events Manager Search not working’ is closed to new replies.