Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Why aren’t these tags put in the index.php instead?

    Because there’s often other elements preceding it that also need to be within a sub-template file like header.php. Elements like the navigation menu, logos, site titles, site descriptions, etc.

    Why is it only the opening tags? where is the closing tag?

    Check footer.php

    Thread Starter henballs

    (@henballs)

    Thanks Andrew.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why is the opening tag body and div included in the header.php?’ is closed to new replies.