Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Edited Navigation doesn't sync between the two header template parts #54

Closed
kjellr opened this issue Oct 7, 2021 · 2 comments · Fixed by #55
Closed

Edited Navigation doesn't sync between the two header template parts #54

kjellr opened this issue Oct 7, 2021 · 2 comments · Fixed by #55
Labels

Comments

@kjellr
Copy link
Collaborator

kjellr commented Oct 7, 2021

In order to provide the reversed-out header for our front page template, we need to use two separate header template parts:

header-large-dark.html header.html
Screen Shot 2021-10-07 at 11 59 37 AM Screen Shot 2021-10-07 at 12 05 20 PM

This is great and it works fine. Except for one thing:

If you edit the navigation block on one of the two headers, they don't sync up. In general, I think they should — if someone were to edit their main navigation, they presumably want it to change everywhere on their site.

I think the best way to fix this today is to create another "Navigation" template part containing just the Navigation block, and place that new template part inside both of our header template parts. It's a little confusing, but I believe it'll solve the problem.

Open to other suggestions!

@kjellr kjellr added this to the Feature Freeze milestone Oct 7, 2021
@youknowriad
Copy link

I think that's good feedback for the team working on Navigation block as they're working on related flows. cc @talldan

@talldan
Copy link

talldan commented Oct 8, 2021

Yep, very early exploration of this here - WordPress/gutenberg#35418.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants