• Hi all,

    A quick and no doubt simple question: in the default theme’s header.php the div tag with id=”post” is not closed; where is it actually closed?

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • i think you are asking about the page.php file.
    Please look into it , the id=”post” starts there and ends in the same page, there will be a comment page also with it.

    Thread Starter thebiganswer

    (@thebiganswer)

    @iteamweb: thank you for your reply. In the header.php file which comes with the the theme I’m using (Linoluna), and also the default WordPress header.php file, the following…

    <div id=”page”>

    …is stated but it is not closed in the same file. I’ve also looked in the footer.php file and there is a </div> which is not opened; I’m guessing this is the closing tag.

    I’m still learning my way around WordPress so I’m keen to learn the best practices.

    Yep your probably right @thebiganswer. Sometimes the tag that’s not closed will be called #container, or #content.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘In header.php where is tag closed?’ is closed to new replies.