1
I am creating a site in wordpress, I have some templates already ready as: index.php, Category.php, 404.php, single.php.
I created a custom "blog.php" page and directed a link to it with:
href="<?php echo esc_url( home_url( '/blog.php' ) ); ?>"
It tells me the page doesn’t exist.
Are they outside wordpress? If yes he is probably looking for that file
blog.php
in the root folder where the wordpress index is– andre_luiss
is in the index folder.php yes
– Matheus Ramalho Arnaud
With so little information you can’t really know what’s going on. You tried to access the route directly through the url? seusite/blog.php ?
– andre_luiss
I’m assembling the structure yet, what other information do you need? Yes I’ve tried, not found too.
– Matheus Ramalho Arnaud
Hello, Matheus, can you give us some more information on the context and use case? I’m assuming you’re trying to create a custom template for when the visitor accesses www.exemplo.net/blog/ and 2) that this page will show the latest post. Am I right? template hierarchy and this interactive chart of the hierarchy.?
– Celso Bessa