Skip to content

Instantly share code, notes, and snippets.

@surefirewebserv
Created December 13, 2016 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save surefirewebserv/44eebd829d2a31923ace655b9ba8c95d to your computer and use it in GitHub Desktop.
Save surefirewebserv/44eebd829d2a31923ace655b9ba8c95d to your computer and use it in GitHub Desktop.
Here's the mess that views outputs
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<table width="100%" class="wpv-loop js-wpv-loop">
<wpv-loop wrap="3" pad="true">
[wpv-item index=1]
<tr>
<td>
<h2>[wpv-taxonomy-title]</h2>
[wpv-view name="List of Lessons in Course"]
</td>
[wpv-item index=other]
<td>
<h2>[wpv-taxonomy-title]</h2>
[wpv-view name="List of Lessons in Course"]
</td>
[wpv-item index=3]
<td>
<h2>[wpv-taxonomy-title]</h2>
[wpv-view name="List of Lessons in Course"]
</td>
</tr>
[wpv-item index=pad]
<td></td>
[wpv-item index=pad-last]
<td></td>
</tr>
</wpv-loop>
</table>
<!-- 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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment