title: how I can use header.php and footer.php outside from wordpress theme directory
body: <p>I have a theme installed in wordpress like this directory <code>/wp-content/themes/mytheme</code> so in the root I have custom code which is little complex and easy to integrate in wordpress theme so I want to finding an option where I can use <code>header.php</code> and <code>footer.php</code> in root directory like this way. <code>/custom_code/custom.php</code></p>