The file aboutUs.php is in the same file as page.php and header.php Here are the steps i took
- Created page via wordpress and name it About-Us
- Created a file called aboutUs.php in folder where page.php and header.php exist
These are the steps I took yet any changes made to the aboutUs.php i created does not apply to the page
CodePudding user response:
You need to do it like that: page-{slug}.php, so in your case( if page slug is about-us ) - page-about-us.php Also check documentation - Page Template Files