Problem:
What are the shortcodes for separately inserting a View search form and the View results?
Solution:
It depends on whether you are inserting the results on the same page as the search form or on a different page.
The best way to get the correct shortcodes is to edit a page (with the classic editor) and use the Fields and Views button to insert the View, and then use the UI prompts for determining what is inserted where.
This will generate the required shortcodes, which can then be cut and pasted to use in a different context (e.g. page builder modules) if required.
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view
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 2 replies, has 2 voices.
Last updated by 5 years, 4 months ago.
Assisted by: Nigel.