Hi,
When first loading my archive view, the results are displayed. I'd like the results only to display AFTER the user have clicked the submit button.
How could I do this ?
Thank you.
Hi,
Thank you for contacting us and I'd be happy to assist.
As there is no built-in feature/control available for this, it will require some workaround.
To suggest the best way forward, I'll need to see how this archive view is set up in the admin area.
Can you please share temporary admin login details, along with the link to a page where this archive can be seen?
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
regards,
Waqar
Hi,
Thank you for sharing the admin access.
To achieve this, you can wrap the entire content of the [wpv-items-found] ... [/wpv-items-found] (in "Loop Editor"), inside a condition that checks for the existence of the query parameter "wpv_view_count". This query parameter is added, whenever the results are updated through any search filter.
Example:
[wpv-items-found]
[wpv-conditional if="( '[wpv-search-term param="wpv_view_count"]' ne '' )"]
....
[/wpv-conditional]
[/wpv-items-found]
Related links:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-search-term
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/using-shortcodes-in-conditions/
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Hello and thank you,
Works great now !
Thank you!