![]() |
Move genesis_header from functions.php to header.php
I'm using the genesis_header function to generate my own customer header. It's currently located in the functions.php (see below).
Question; Is there a way to move this function to a seperate file (header.php)? I want to have a better overview of my functions.php because the custom genesis_header contains many code. Code:
add_action( 'genesis_header', 'add_genesis_header' ); |
dont' use header.php but you could make a file like custom-header.php and use include() to include that file.
|
| All times are GMT -5. The time now is 07:56 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.