This code creates a custom landing page template which:
- Includes code to remove the default header only from the landing page
- A custom function to display a custom header image on the landing page template only
Code Installation
- Create a new file named page_landing.php using a code editor like Notepad++ and copy the PHP code from the view raw link into your new file. You can then upload the file to your child themes root directory and select it from the drop down menu in the Page Attributes when creating a new page.
- Add the CSS to your child themes style.css file
Was This Tutorial Helpful?