Skip to content

Instantly share code, notes, and snippets.

@curtiswilkinson
Created September 30, 2015 05:13
Show Gist options
  • Save curtiswilkinson/2c2ab07fea508869e5f3 to your computer and use it in GitHub Desktop.
Save curtiswilkinson/2c2ab07fea508869e5f3 to your computer and use it in GitHub Desktop.
Setting up a filter for a custom content type
<!--##[%PRODUCT_FILTER type:'compat' compatlist:'dietary' limit:'100' autohide:'0'%]
[%PARAM header%]##-->
<li class="nav-sub-header muted">
Filter by Dietary
</li>
<!--##[%END PARAM%]
[%PARAM *body_title%]##-->
<!--##[%END PARAM%]
[%PARAM *body%]##-->
<li class="lv[@level@]">
<a href="[@url@]">[@name@] ([@total@])</a>
</li>
<!--##[%END PARAM%]
[%PARAM footer%]##-->
<!--##[%END PARAM%][%END PRODUCT_FILTER%]##-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment