To create a custom template we first need to create php file in a theme directory. You can name it almost any way you want. For this example we will create example.php
One and only thing we need to define inside our example.php, to be recognized by WordPress as a template, is template name. We do t...