Plugin Author
Creare
(@shane-welland)
Heya, In this particular example are you not able to set the links up as buttons (in a form) instead?
Actually I want to make it SEO friendly. If you will make it $_POST then we can use it like our requirement or let me know other solutions. It will be a big help for us.
– Sushil Kumar
([email protected])
Plugin Author
Creare
(@shane-welland)
Do you have the latest version of ACPS? Because the results page handling switched over to $_POST in version 1.2?
I have already Version 1.2.3. But it seems that here is $_GET method is being used.
Go to this “http://www.paryatak.com/city-guide/search.html” URL where I am using your plugins.
There is search form on the left panel. If you will click on search button.
It will show the 2 results. But nothing is found in URL “http://www.paryatak.com/city-guide/search.html“.
I want, if user will click on this url “http://www.paryatak.com/city-guide/search.html?state=delhi-ncr&themes=historical&months=december” directy. Page should get data according to $_POST data from URL, which is not happening for the moment.
So, form should post instead of get.
Plugin Author
Creare
(@shane-welland)
Ah I think you mean the other way around, you’re wanting to use a $_GET method (fed through URL) rather than the $_POST method which is how it currently works.
You could potentially change the form method to get in the “/core/shortcodes/acps_shortcodes.php” and “core/widgets/acps_widgets.php” files, as well as any other references to $_POST in “core/acps_results_template.php” and “core/acps_core_functions.php”.
I can’t release an update specifically for this at this moment in time but but this should fix what you’re trying to do.
Let me know if this helps!
Oh, Yes. I was looking to use $_GET method instead on $_POST. It worked for me. Thanks a lot.
π
One more questions. Can there be a “SHORTCODE” for result page, where some parameter can be passed for search result.
Some thing like
“[acps_results acps_post_type=city-guide acps_form_id=569 state=delhi-ncr themes=beaches months=january]”
And this will give some result.
Plugin Author
Creare
(@shane-welland)
Ah right, great!
That’s a pretty good shout for some functionality actually, I’ll probably prioritise this in the next update =)
Hi,
1. Have you added shortcode like “[acps_results acps_post_type=city-guide acps_form_id=569 state=delhi-ncr themes=beaches months=january]” in your current release?
2. On search I am getting “search.html?acps_post_type=city-guide&acps_form_id=569&state=&themes=&months=” as query strings.
Can I directly pass acps_post_type & acps_form_id values in the code directly? So user can not view these details in the URL as well as for SEO purpose.
Thanks.
Sushil
Any Update on the below:-
Have you added shortcode like “[acps_results acps_post_type=city-guide acps_form_id=569 state=delhi-ncr themes=beaches months=january]” in your current release?