php - Head content appears in the body tag (Wordpress) -
my head content(metas, scripts etc.) appears in body tag. have header php code
<!doctype html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo('charset'); ?>"> <meta name="viewport" content="width=device=width"> <title<?php bloginfo('name'); ?></title> <?php wp_head(); ?> </head> <header class="header"> <h1 id="logo"><a href="<?php echo home_url(); ?>">|||</a></h1> <h4 id='title' ><?php the_title(); ?></h4> </header> <body>
and footer.php closing this. `
<?php wp_footer(); ?> </body> </html>`
already tried changing encoding utf-8 utf-8 without bom using notepad++, , still same ,, website if wanna see inspect [website]
website . ideas ? :s
your html broken:
<title> name lastname / official website</title> ^---- missing >
Comments
Post a Comment