I have created a custom page that I have called mypage.php.
It is in my template folder with al the other pages (index.php, page.php, ...)
I want this page to be opened when i click on the below code.
<a href="<?php site_url(); ?>/mypage.php">Go to page</a>
When I click on the link the url in my browser look like: http://localhost:8888/mypage.php which I guess is correct.
BUT it uses index.php as template ignoring the code I have into mypage.php
So all i am getting at the moment is an empty page with only my header and footer.
Is it possible to use pages in this way with Wordpress? I had a look online and on this site but I haven't been able to find a solution for this problem.