I'm developing my first theme, without having any previous experience with wordpress, I have some doubts ...
I will have to have several pages in my theme, I saw that I can separate in different files ("pag1.php", "pag2.php", etc ...), as I do the pointing to these pages in the site menu by admin from wordpress, so that you have friendly urls (ex: link ), I did not find anything of the kind in admin of WP, nor references to pages in functions.php or somewhere else.
These other pages will also be given parameters by the url, for example: link but this has already seen basically how to solve ...
If I asked the wrong session to forgive me, I confess that I did not do much research here in this forum yet.