Problem:
How to pass a search string to a View that includes a text search?
Solution:
You pass the search term using a wpv-view shortcode attribute, as described in the linked documentation.
Note that you can only pass shortcode attributes when inserting the View by shortcode, you cannot pass attributes when using a Views cell in a Layout, for example. In that case you would need to replace the Views cell with a Visual Editor cell and insert the View via shortcode.
Relevant Documentation:
https://toolset.com/documentation/user-guides/passing-arguments-to-views/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years, 1 month ago.
Assisted by: Nigel.