Forums › Forums › Search & Filter Pro › Date field for post meta not working
Tagged: date picker, meta Fields
- This topic has 6 replies, 2 voices, and was last updated 9 years, 6 months ago by Ross.
-
Anonymous(Private) April 11, 2015 at 8:47 pm #14908
Hi We have used the search field in here.
http://mahimahiweb.com.au/projects/album/author/allison/We already have a campaign created by author “Alison Jones” and it expires on “2015/05/08”
See screenshots herehttp://mahimahiweb.com.au/projects/album/ss1.jpg
http://mahimahiweb.com.au/projects/album/ss2.jpgWhen searched with same inputs no result is returned.
But when we use “Choice” with auto suggest fields instead of date, its returning the correct values.
I almost spent 2 days trying to fix this issue but no luck yet.
Can you please help me to fix this issue.
Kind regards,
JohnRoss Moderator(Private) April 11, 2015 at 9:14 pm #14913Hi John
Meta datas must be stored as either YYYYMMDD or unix timestamp – “2015/05/08″ will not work.
Thanks
Anonymous(Private) April 12, 2015 at 6:19 am #14915Thank you so much Ross. That did the trick.
One last question.http://mahimahiweb.com.au/projects/album/author/allison/
On this author page, theres a select list to select the current author (photographer in this case)
Can we add a conditional statement to select current author (photographer) automatically and remove the “select a photographer” field.Thanks in advance.
JohnRoss Moderator(Private) April 13, 2015 at 7:52 pm #15001Hi John
I’m hoping to add in an option in the settings box, where you can set the current user to search without requiring user input.
That won’t be available for a while yet though.
The best thing I can think of is to do it all with Javascript – so something along the lines of this logic:
1) On page load, detect current author
2) find and set the author field using this author
3) with css/js, hide the author fieldIt will be hidden but submitted with the current author.
Thanks
Anonymous(Private) April 28, 2015 at 1:18 pm #16072Hi Ross,
Frankly I dont know JS to do this.
1) On page load, detect current author
2) find and set the author field using this author
3) with css/js, hide the author fieldCan you please let me know if you can do it and that would be of huge help or direct me to forums where I can find help from.
Or else can you please let me know the price if you do this part.
Thanks again for all the great support on time!!!
Regards,
JohnRoss Moderator(Private) May 2, 2015 at 12:28 am #16453Hi John
What you are trying to do is not supported by the plugin – what I mentioned above was a possible approach.
I’m afraid I wouldn’t be able to make those modifications for you – your best bet is to hire a dev or ask around in WordPress related forums.
Thanks
-
AuthorPosts