Global parts | Header bug

Description:

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 https://skelter.cfdemo4.nl/.

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: 1.1.8.3
  • Cwicly Theme version: 1.0.3

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

That worked! Thanks a lot

1 Like