Problem: I am trying to place a custom search View in my site. If I place it above another View, it will not work. If I place it below the same View, it will work.
Solution: There are two separate issues here.
1. You cannot place a custom search View inside the Search and Pagination panel of another View, in most cases. This will result in a nested form tag, which is invalid HTML. You must choose the option "Disable the wrapping div around the View" for the nested View if you want to nest a View in the Search and Pagination editor area.
2. The HTML markup structure for the loop is broken. Be sure to close out the div in the third loop index when wrap=3. The code syntax highlighter will complain about this, but it's actually correct in this case.
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 2 replies, has 2 voices.
Last updated by 5 years, 7 months ago.
Assisted by: Christian Cox.