- This topic has 4 replies, 2 voices, and was last updated 8 months, 1 week ago by .
When I apply a view to The whole page layout, including header and footer, then the source code in the front end becomes:
<html> <head></head> <body> Header View made with Metabox (included with ShortCode inside Body View) Body made with Metabox (applied to The whole page layout, including header and footer) Footer on posts made by Metabox (included with ShortCode inside Body View) </body> </html>
I tried this with several themes, and always the the same result.
Shouldn't the head tag be left alone and to be output by the theme?
Ideally, "The whole page layout, including header and footer", means the header.php and footer.php but not the head tag, which is not related to display, but functionality.
In any case - how'd you suggest to put back all required head contents when using MetaBox Views?
Usually, we would want a head like so:
<head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="profile" href="http://gmpg.org/xfn/11"> <?php wp_head(); ?> </head>
My goal is to design a whole template, inclusive menu and footer, with MB Views.
Perhaps I am approaching this wrongly...
- You must be logged in to reply to this topic.