Layout 'Home' location broken?

After some testing, I found two of my positions are not working at all, regardless of the location:

  • After Header
  • Before Footer

I previously encountered an issue with the Underscores starter theme where the Before Content and After Content positions were not working because the Content position entirely overwrote them. So, after some discussion with Eliot, I moved these to the Header and Footer files.

I am unsure what the problem is, but it could be specific to the Underscores theme and how it loads the theme sections, or there is an issue with the PHP.

My Underscores theme is here if you want to take a look.

I can work around this by using Before Content and After Content positions, as I don’t need all of the positions at present.

Thanks.