Plugin Author
TC.K
(@wp_dummy)
Did you set the div for display the result?
yes, and it contains the results, when the button is used. But when i hide btn, nothing happens, whatever option i choose – ajax with div or search form. wp version 3.8
Plugin Author
TC.K
(@wp_dummy)
Do you have a live url of your search form? For me to diagnose the problem.
http://blog.drive2b.kiev.ua/ my bad! left sidebar
[Moderator Note: Please ensure that you are embedding links correctly in your posts.]
Plugin Author
TC.K
(@wp_dummy)
I think you did not set the search template correctly,
From what I saw in your site, the form is made for Default Search Template.
it should be “Ajax – Result displayed on same page “.
unfortunatelly, i cant get it work, no matter what option i choose – ajax or search page with button hidden. But when the button shown everything goes well. Check it – i just showed button.
Plugin Author
TC.K
(@wp_dummy)
Try Ajax with hidden button. I need to know if the js for control this behavior is loaded.
Plugin Author
TC.K
(@wp_dummy)
Errmm…it’s weird. Just like I thought, the js is not loaded.
How do you defined the shortcode actually? It should be like [ULWPQSF id=273 button=0] .
If you think you have everything correct, then you can try to put this script in your footer
<script type="text/javascript">jQuery(document).ready(function($) {
$("[id^=uwpqsffrom_]").change(function(){ process_data($(this)); })
;})</script>
That’s it!
it was button=hide instead of button=0
Thank you so much for help and great plugin!
Now everything works as charm) Many thanks!
Dear author, one more question – is there any way to add class to <article> to customize the search result view?
Plugin Author
TC.K
(@wp_dummy)
Sure.
You can use ‘uwpqsf_result_tempt’ to customize the result. Please refer to this post hook section for how to use the filter.