Adding Taxonomy Name in checkboxes-item.html
-
In checkboxes.html you can access the Name of the Taxonomy by using
{{taxonomy}}
but I need to access it in checkboxes-item.html to define a class like this
<input type="checkbox" id="{{value}}" name="{{name}}" value="{{value}}" class="{{taxonomy}}" {{#is-selected}}checked="checked"{{/is-selected}} />
I guess I have to change the data submitted to the Mustache-Template in walkers.php, but I don’t know how.
https://www.ads-software.com/extend/plugins/query-multiple-taxonomies/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding Taxonomy Name in checkboxes-item.html’ is closed to new replies.