Forums › Forums › Search & Filter Pro › Search filter date range issues
- This topic has 8 replies, 2 voices, and was last updated 9 years, 5 months ago by Anonymous.
-
Anonymous(Private) June 2, 2015 at 11:45 am #18715
Hi I have a custom post type “Calendar” When i search category wise or search wise, it works fine. but when i give date range say from 20th may 2015 to 2nd June 2015 no results show up..
I have added the post on 2nd June. So when i select 2nd June in both the date ranges, then the result is being displayed.. Why is this..??
Website Link: http://dev.igenero.in/bhe/?sfid=254
Anonymous(Private) June 2, 2015 at 11:55 am #18716Now i have added other post and changed the date to 25th May 2015.. and when i search with date ranges from 22nd may 2015 to 2nd june 2015, nothing comes up..
If i give 25th may 2015 in both the date fields or 2nd June in both the date fields, then the particular date post comes up..
Ross Moderator(Private) June 2, 2015 at 2:12 pm #18732Hi Karan
Can you please follow the instructions here under “a quick tutorial”:
And then provide me with a link? (This is just for testing purposes).
Thanks
Anonymous(Private) June 8, 2015 at 8:42 am #19021Sorry didn’t check your reply. I have created the page and pasted short-code there.. Here is the link to the page
http://dev.igenero.in/bhe/test-search-results/
Here when i search with dates, its working fine buy why not in the custom search results page?
Can you please advice in this. Thanks!
Ross Moderator(Private) June 8, 2015 at 1:40 pm #19060Hi Karan
I don’t think its your template that is causing issues – it sounds like something is interfering with the query (especially the date).
Have you tried disabling your other plugins to see if there is a conflict?
Thanks
Ross Moderator(Private) June 8, 2015 at 2:30 pm #19067Yes – this is why I think it is a plugin causing a conflict.
Anonymous(Private) June 8, 2015 at 4:02 pm #19077Hey Ross,
I have managed to do it. I have copied the results.php file to theme folder and customised it with the look and sections i want. Now its working fine. Not sure what was the issue with custom template. Strange.
Anyway thanks for your help and time. Appreciate it!
-
AuthorPosts