do you have sample link to your site with this issue for us to see and analyze?
Thread Starter
Anonymous User 15109255
(@anonymized-15109255)
Hi angelo_nwl,
Thanks for replying me back.
Here is our site:
http://fmaa.com.au/events/university-of-melbourne?scope=all
When we use the ?scope=all, the date picker on the advanced search is not working.
We are building a new website, we need the scope attribute and we noticed that it doesn’t work since the beginning.
Thank you,
not sure if scope is the reason since we are getting javascript error on your site
eg.
Uncaught Missing number at position 0
jquery.js?ver=1.12.4:2 Uncaught TypeError: Cannot read property 'replace' of undefined
at jquery.js?ver=1.12.4:2
at PSEUDO (jquery.js?ver=1.12.4:2)
at wa (jquery.js?ver=1.12.4:2)
at fa.compile (jquery.js?ver=1.12.4:2)
at fa.select (jquery.js?ver=1.12.4:2)
at Function.fa (jquery.js?ver=1.12.4:2)
at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
at n.fn.init.find (jquery.js?ver=1.12.4:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
at a.fn.init.n.fn.init (jquery.js?ver=1.12.4:2)
you can try WP Safe Mode to debug or narrow down the issue without actually deactivating plugins or themes.
-
This reply was modified 7 years, 4 months ago by
angelo_nwl.
Thread Starter
Anonymous User 15109255
(@anonymized-15109255)
Thank you for your reply.
We tried to install the plugin on a fresh WordPress (V 4.9.9) and theme. And the problem still occurs. If you check the end date, you should notice that the date picker is not showing.
Please check this screen record: https://take.ms/4aWsp
Thank you,
on this url “/events/university-of-melbourne?scope=all”, “university-of-melbourne” is your events listing page? also, not sure if scope=all is supported since search is using post method or ajax
Thread Starter
Anonymous User 15109255
(@anonymized-15109255)
Hi Angelo,
Yeah, that page is the events listing page. We have many listing pages. We use these parameters (out of the guideline?) and they work.
?scope=past&action=search_events for past events
?scope=today&action=search_events for current/today events
?action=search_events for upcoming ones
Yeah, maybe it’s because of the function only handle the POST method. It just would be nice if it can handle the GET request so the datepicker works perfectly.
We will leave it as is for now.
Thank you for your assistance.