Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu Import Issue (Bug?) #69282

Closed
Pixelous opened this issue Feb 24, 2025 · 2 comments
Closed

Menu Import Issue (Bug?) #69282

Pixelous opened this issue Feb 24, 2025 · 2 comments

Comments

@Pixelous
Copy link

Pixelous commented Feb 24, 2025

Hi,

When exporting/importing menu in Twenty Twenty-Five theme it is not working:

Navigation Menu has been deleted or is unavailable. Create a new Menu?

Please see attached screenshot:

Image

However the navigation is looks like imported successfully:

Image

The same menus exporting/importing is working fine in Twenty Twenty-Four theme:

Image

Kind regards

@Pixelous
Copy link
Author

In twentytwentyfive/parts/header.html there is:

Which refers to twentytwentyfive/patterns/header.php

So, I simply copied a code from twentytwentyfive/patterns/header.php and pasted into twentytwentyfive/parts/header.html instead of

Looks import works fine now.

So this should be fixed in Twenty Twenty-Five theme?

@Mamaduka can you please take a look?

@Mamaduka
Copy link
Member

@Pixelous, this could be related to #45512. The Navigation block uses IDs as reference, but they're sometimes lost during migration. The proposal is to use string.

Regarding Twenty Twenty Five theme issues. I believe the need to be reported on Trac. The core themes aren't developed on this repository.

cc @carolinan, @luminuu

I'm going to close this issue. Discussion can be continued either on #45512 or Trac.

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

No branches or pull requests

2 participants