Hi @christianmuellerdhv – that definitely sounds frustrating – it would be great if you could share a little more about the situation:
- Do your different templates use different header and footer parts?
- Could you give an example of the kinds of changes you’re making?
- Do you have a link you can share so I can take a look at the site itself?
Thread Starter
Chris
(@christianmuellerdhv)
Hi,
yes, I’m talking about what is happening inside the Headers of different templates. I tested this on a clean WordPress without any plugins.
For an example please check the screencast on the top of my testing-site:
https://spielwiese5.hanfverband-dev.de/
What ever you change inside one header, changes all Headers. This was definitely not the behaviour before…
Best regards
Chris
Hey @christianmuellerdhv – thanks for sharing that video. From looking at it – it appears that the same ‘Header’ template part is shared across each of those templates.
This means that when you make a change to the Header (even when editing it inside a specific template) that change will be made to the the Header Template Part – and therefore change in the other templates where that part is used.
If you open the Site Editor (Appearance > Editor) and then go to Patterns > Headers you’ll see the shared header there on its own.
If you’re wanting to have different Header for the different Page templates – you’d need to create separate header parts, and use them in each Page template.
There’s more information on that here:
https://wordpress.org/documentation/article/template-part-block/
Thread Starter
Chris
(@christianmuellerdhv)
Hi,
I had different Header-parts before I changed one, now they all look the same. If you go into a page-template the header-part is always listed with the Label “Header”, not with the names of the header-parts.
Again: this worked fine the last weeks, I’ve builded several Templates with several Headerparts. The trouble started with the Upgrade…
Best regards
Chris
Thread Starter
Chris
(@christianmuellerdhv)
Hi Jordesign,
my last post is not correct and it seems, that I did not built the templates a proper way. Why my Headers did work with 6.3.1 and not any longer, I still don’t know. But because of a small bug building header-parts (the button “Create” is not klickable on Firefox, after you have choosen “Header”) I found some workarounds. Maybe those workarounds are not working any longer, but the system behaves as it should!
I’ve tested all again and you are right: with Headers as “header-parts” everything is OK!
Sorry for wasting your time, I rebuild my templates and it should work…
Thanks for the help!
Best regards
Chris
Hey @christianmuellerdhv – no need to apologise at all – I’m really glad to hear that’s working for you now 🙂