Date Range filter not working

Forums › Forums › Search & Filter Pro › Date Range filter not working

Viewing 8 posts – 1 through 8 (of 8 total)
  • Anonymous
    #198465

    I’m using Search and Filter Pro. I’ve created a form and implemented it into my theme using <?php echo do_shortcode( ‘[searchandfilter id=”239″]’ ); ?>

    The search, category, and tag filters are working well with AJAX enabled. I’ve also added a date range filter – when I choose a start date, and end date range there is a pause as the AJAX refreshes the results, but nothing changes. I have the setting for Make searches bookmarkable enabled, and this works with the other filters I have, but nothing happens with the date range.

    I have a default div of content showing when the nothing has been filtered
    if ((!$sf_current_query->is_filtered())&&($sf_current_query->get_search_term()==””)) {
    /* Default div here */
    }

    When I do a date range search the default div never goes away – it is as if nothing is being detected when a start and end date is entered.

    Help please.

    Trevor
    #198474
    This reply has been marked as private.
    Anonymous
    #198531
    This reply has been marked as private.
    Trevor
    #198533
    This reply has been marked as private.
    Anonymous
    #198535
    This reply has been marked as private.
    Trevor
    #198537
    This reply has been marked as private.
    Anonymous
    #198541
    This reply has been marked as private.
    Trevor
    #198608

    Great to speak with you Janice. Using a custom field for date published seems to have resolved this. I will close this thread for now.

Viewing 8 posts – 1 through 8 (of 8 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.