get_header( 'customheader' ); ?>
-
Hi,
I am working on a development site: https://dev.straightforwardlegal.com/
I have created a custom front page template and want to have a header on it that is different from the rest of my site.
So far, I have created a blank document in Notepad and named it customheader.php then I uploaded it to the content of my theme in filezilla. It appears in my editor as customheader.php so I copied and pasted the content from the header I am using on the rest of my site and put it in the new custom header and proceeded to make the changes I wanted to my header in the custom header php document. Then, I went to my front page editor and changed
get_header( ); ?>
toget_header( 'customheader' ); ?>
. However, the new header is not replacing my old header. Can anyone tell me what I am doing incorrectly?Thanks,
Megan
- The topic ‘get_header( 'customheader' ); ?>’ is closed to new replies.