Forums › Forums › Search & Filter Pro › Date Range filter not working
- This topic has 7 replies, 2 voices, and was last updated 7 years, 11 months ago by
Trevor.
-
Anonymous(Private) January 8, 2019 at 8:33 pm #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.
-
AuthorPosts