Creating templates is one of most simple part after you have all your wrappers and sections created.
All you need to do is just to call a function from the theme class with two arguments and you are done!
Here is an example for the documentation on this website:
<?php /* Template Name: Documentation */ theme()->render("2column-left", [ ["Header", "top"], ["SidebarLeft", "left"], ["Page", "content"], ["Footer", "bottom"] ]);
Templates are located in the root directory of theme. You may notice that there is also a directory named “templates” which holds only basic required WordPress files like searchform.php, comments.php…