Reply To: Custom template creation

December 29, 2016 at 15:01 #14110
Timo
Keymaster

Thanks for your request. This is possible with ASA 2’s template feature “Surrounding container”. You will find it on the bottom on the template form page. There you can insert the outer table HTML while the row (<tr>…</tr>) should be placed in the default code section. Then you can combine this template with a collection or better smart_collection where you can filter by category, like this:

[asa2_smart_collection cat_slug="star-wars" tpl="table_layout" /]

To learn more about what I used, please check the documentation page about “Surrounding container”: http://docs.getasa2.com/templates_surrounding_container.html
About how to filter for categories, please see http://docs.getasa2.com/shortcodes_asa2_smart_collection.html#cat

I hope I was able to help you. If you still have questions, please let me know.

  • This reply was modified 7 years, 7 months ago by Timo.