However I’m trying to add the same header and footer from the html part of the site to the wordpress part of the site. The header.php and footer.php both have content for the body in them so I can’t just add a new header and footer php file or the styles completely go haywire making my wordpress look like a stretched out painting .
So what I wanted to do was add the header and footer as separate files and use the include command or the get_header command within the header and footer php files.
But when I do this the styles for the wordpress kick in for the new header and footer..
So then I used the current coding to use a new separate style for it.
<?php include( ‘headernew.php’ ); ?>
<?php { ?>
<link rel=”stylesheet” href=”<?php ; ?>https://www.mysite.co.uk/css/new-styles.css” type=”text/css”>
<?php }; ?>
So when I now load the page I see the NEW menu etc (HOORAY! Right? No) After a split second the wordpress styles kick in for the header and footer and blam it goes back to the wordpress style
If I’ve made any sense can someone help?!
Driving me insane this!
]]>My site is www.tirthatanay.com
I cant open my site. It shows
Warning: require(/home/tirthatanay/public_html/wp-content/themes/twentyfourteen/inc/custom-header.php): failed to open stream: No such file or directory in /home/tirthatanay/public_html/wp-content/themes/twentyfourteen/functions.php on line 503
Fatal error: require(): Failed opening required ‘/home/tirthatanay/public_html/wp-content/themes/twentyfourteen/inc/custom-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/tirthatanay/public_html/wp-content/themes/twentyfourteen/functions.php on line 503
Please help me.
]]>Can anyone help me with what line to insert the image on and how to do so? I’ve been searching for so long!
Would love for some help.. Thanks
www.thedarlingdetail.com
]]>