Problem: When using a 1 column Bootstrap Grid View, the markup generated by the Loop Wizard contains an unclosed div tag. This invalid markup causes my site design to break.
Solution: You can manually adjust the markup created by the loop wizard to produce a valid HTML structure. Example:
[wpv-layout-start] [wpv-items-found] <!-- wpv-loop-start --> <wpv-loop> <div class="col-sm-12">[wpv-post-body view_template="Loop item in Vista serveis"]</div> </wpv-loop> <!-- wpv-loop-end --> [/wpv-items-found] [wpv-no-items-found] <strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong> [/wpv-no-items-found] [wpv-layout-end]
Or, you may apply the patch described in the following erratum. The permanent fix for this problem will be included in the next release of Views.
https://toolset.com/errata/view-loop-output-bootstrap-grid-missing-div-and-class/
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years ago.
Assisted by: Christian Cox.