Global parts | Header bug


I’m having issues with my header that is added to every page using the Global parts functionality. It appears that by using the global parts functionality WP doesn’t know on what page/post the header is shown. This results in the current class not being added to the corresponding page and the SEOPress breadcrumbs not being loaded.

Step-by-step reproduction instructions:
This can be reproduced at

In addition, I added the header template part to Algemeen - Skelter in the old-fashioned way so you can check the HTML that is beinig generated there.

Environment info

  • WordPress version: 6.0.1
  • Gutenberg Plugin version: -
  • Cwicly Plugin version:
  • Cwicly Theme version: 1.0.3

Try updating to and see if this still occurs to you.

That worked! Thanks a lot

1 Like