1{* Currently this needs to be copy and pasted into a wiki page and used as the wiki template for a custom_search plugin *} 2{literal} 3 <div class="clearfix cs_topbar"> 4 <b>Any text:</b> {input _filter="content" type="text" class="cs_content_input"} {input type="submit" class="btn btn-primary btn-sm" value="Search"} 5 Sort by: 6 <select class="cs_sortby" name="cs_sortby"> 7 <option value=""></option> 8 <option value="title:asc">Name a-z</option> 9 <option value="title:desc">Name z-a</option> 10 <option value="price:asc">Price low-high</option> 11 <option value="price:desc">Price high-low</option> 12 </select> 13 Category: <img src="img/trans.png" width="16" height="16" class="badge badge-secondary icon" /> {input value="" class="cs_catlabel" readonly="readonly" style="font-weight: bold;"}<a href="#" class="cs_cat_all">All</a>{input _filter="content" _field="tracker_field_category" value="" type="hidden" class="cs_category"} 14 <div class="clearfix cs_catdiv">{/literal}{menu id="44" type="vert"}{literal}</div> 15 </div> 16 {JQ(notonready=true)} 17 (function() { 18 var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; 19 po.src = 'styles/custom_search.js'; 20 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); 21 })(); 22 {JQ} 23{/literal} 24