Problem:
I need to get only the values returned by the View, but Views Loop adds some default HTML around the actual output.
What can I do?
Solution:
Toolset Views cannot be used to produce a clean Loop output (Data providing), but is only inteded to be used to display data, as such, it has some default HTML around every Loop, and that will make it impossible to use "raw" values.
What you can do is use Custom PHP code as elaborated in the below linked ticket.
https://toolset.com/forums/topic/views-result-array-as-shortcode-parameter/
This is something that falls under Custom Coding, and there is a feature requeset (no ETA) to construct a Data Provider method for 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 7 years, 6 months ago.
Assisted by: Beda.