How do I access a page created along with the standard wp pages, such as sigle, page, etc ...
Example, I create a page called examples.php and I want to access it. What link should I use, because if I try to link gives page not found.
How do I access a page created along with the standard wp pages, such as sigle, page, etc ...
Example, I create a page called examples.php and I want to access it. What link should I use, because if I try to link gives page not found.
Wordpress has a routing system that prevents you from accessing pages in this way.
You can access this file by creating a page in the administrative panel and selecting this file as a custom template. For this, you need to add a comment at the beginning of the file with the template name.
When you add the comment and reload the wordpress page, it will display the template as a template option in> customized.
<?php
// Template Name: Nome do Template.
?>