Tell us what you are trying to do? FIlter using post reference field
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site? hidden link
When I select value from dropdown page is not getting refreshed
Hi Vimal,
Your screenshot shows that "Full page refresh when visitors click on the search button" option is selected, but this means that you'll also need a search or submit button.
Please include one ( screenshot: hidden link ) and then check the search form again.
regards,
Waqar
Hi Waqar,
I do not want search button, I need to filter it when I select any option from dropdown.
Thanks
Hi Vimal,
If you'd like to update the results, without clicking the search or submit button, you'll need to switch back to the option:
"AJAX results update when visitors change any filter values"
( screenshot: hidden link )
Important notes:
1. The new shortcode "[get_prf_filter]" needs to be placed inside the "Search and Pagination", just like the regular "[wpv-control-postmeta]" shortcode.
( screenshot: hidden link )
2. You can wrap the default "[wpv-control-postmeta]" shortcode inside a "<div style="display:none;"> ... </div>", so that the select filter field with the numeric IDs is not visible and only the new one with the title is shown.
( screenshot: hidden link )
3. Also, make sure that the "Query Filter" still includes the filter for the post reference field. This gets added automatically when we insert a new filter in the "Search and Pagination" section.
( screenshot: hidden link )
regards,
Waqar
My issue is resolved now. Thank you!