Is there a way in wordpress for setting the default template file(index.php) to a custom one?
Thank you.
Create a file called "page.php" and put in default theme directory.
This will override index.php AND be the default used template (you can still change template using the dropdown list in the back end)
check here for more info:
https://developer.wordpress.org/themes/template-files-section/page-template-files/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With