Reply To: Display 'Posts to date' filter


Ernest Marcinko


It's a known minor bug, where the “Posts to date” filter shows the same value as the “Posts from date”, caused by a syntax error in the code. It's going to be fixed within the next release of course.

If you want, you can fix it by opening the wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.date_filters.php file on your server, and changing line 28 from this:

$_dft_v = $_dff['date'];

to this:

$_dft_v = $_dft['date'];

That will solve the bug.

Also, to select the current date, just use the Relative Date option instead of the Date:
If all values are set to 0, it will show the current date 🙂

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)