Can I create new page.php on child theme in wordpr

2019-08-25 03:58发布

问题:

I would like to create new page (with specific style) on child theme. I created a page.php on child theme, however, it doesn't work. Instead of, parent theme's pape.php does. When I remove the parent theme's pape.php, it redirects index.php.

Can I create new page.php on child theme in wordpress?

回答1:

Sounds strange. As i understood you can overload all the files in your parent-theme from the child-theme by just creating a new -filename-.php. Here is som good reading Wordpress Child Theme