Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way in wordpress for setting the default template file to a custom one? [closed]

Tags:

wordpress

Is there a way in wordpress for setting the default template file(index.php) to a custom one?

Thank you.

like image 684
secuaz Avatar asked Oct 08 '13 13:10

secuaz


1 Answers

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/

like image 126
vincentieo Avatar answered Oct 18 '22 10:10

vincentieo