Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    you can enable this under options Events > Settings > Formatting > Search Form

    Thread Starter DigitalEssence

    (@digitalessence)

    Hi,

    thanks for your reply.

    Not sure how I missed that as I already had it enabled but it doesn’t appear to work correctly.

    I have 3 events all with the term “alice” in them.

    23/07/2016 – 14:30
    23/07/2016 – 14:30
    28/07/2016 – 31/07/2016 – 14:30

    In the advanced search form I’m selecting the search term “alice” with the date range 28/07/2016 – 31/07/2016 all categories and all countries.

    See: Screenshot

    But this is outputting all 3 events: Search page output

    Another question: How do I hide the magnifiying glass? Not the green button but the grey magnifying glass as my theme is doing silly things to its output.

    Thanks.

    Which part of the event contains alice?

    You should be able to remove the magnifyijg glass by overriding the CSS rule related to it. To do that, add something like this the style.css file of your theme:

    div.em-search-text {
        padding-left: 0 !important;
        background: none !important;
    }
    Thread Starter DigitalEssence

    (@digitalessence)

    Hi,

    The term Alice is in the title, excerpt, and a long description.

    https://eastgate.digitalessence.net/events/alice-through-the-looking-glass/

    It’s possible the search issue is a conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Thread Starter DigitalEssence

    (@digitalessence)

    Hi,

    I’ve disabled all other plugins and changed back to the default WP theme but am still seeing the same behaviour:

    That screenshot shows a result from the 23rd when I’ve searched between the 27th and the 31st.

    You can test this at: https://eastgate.digitalessence.net/events/

    thanks.

    This seems to be working for me. I searched for alice with the date set between 28/07/2016 and 31/07/2016 and got one result.

    Is there a short code to display just the search?

    Thread Starter DigitalEssence

    (@digitalessence)

    Hi caimin_nwl.

    Thanks for your reply regarding this issue. I can also replicate the difference between the default WordPress 2016 theme and Enfold so have submitted a ticket with the devs.

    They may come back with some questions which I’ll add to this ticket.

    thanks.

    Ok, thanks for the update.

    Thread Starter DigitalEssence

    (@digitalessence)

    Hi,

    the devs for Enfold have come back saying that they can’t support every plugin and recommended that I use The Event Calendar as that is supported by them.

    But, I feel their plugin has less functionality than yours so I’d prefer to stick with your plugin.

    Is there a way we can work to get this date range resolved? If I know it works we will be purchasing a licence for the plugin (we always support plugin devs).

    I’m surprised that a theme would stop the date range from working but if we had an idea of what it is doing and either went back to Enfold or even paid for some customisation.

    Thanks,

    Hedley

    Does their theme include any kind of custom search or something like that? That could be the problem.

    Thread Starter DigitalEssence

    (@digitalessence)

    Hi,

    I’m still struggling with this issue.

    Even the basic WordPress search returns all events.

    I’ve spoken to the devs of Enfold and they got me to add the following:

    add_action('init', 'ava_search_mod', 10);
    function ava_search_mod(){
    	remove_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	remove_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    }

    which didn’t make any difference.

    They then suggested removing their Ajax search by removing the following:

    //creates ajax search
            new $.AviaAjaxSearch({scope:'#header'});

    which also didn’t work. Still working on this.

    Thread Starter DigitalEssence

    (@digitalessence)

    Think I may have it.

    I had my Events > Settings > Pages > Event List/Archives > Events Page set to “Events” and on that page I had some Enfold advanced layout areas.

    I deleted this page Created a new one and just added:

    `<div class=”search_widget_header”>SEARCH</div>
    [event_search_form]

    And then reset the page in the above settings and I think we have it working with search and date range. Let me run some more tests and confirm.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Create a date range search’ is closed to new replies.