-
Notifications
You must be signed in to change notification settings - Fork 1
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
Extract the navigation menus into separate template parts. #17
Comments
Having extracted the navigation menus into separate template parts - commited as b442481 with no mention of this issue in the commit message - there's a problem in I'd deleted all of the custom templates but not the custom template parts, except the footer-menu. The
In the block editor, when editing the footer, the menu is not being populated. Q. How come it's not being loaded in the editor but is being loaded in the front end? BTW. The problem does not occur for the |
In the front end it's being loaded by
this returns the trashed post.
It would appear there's no logic to find the template part from the theme's files when editing the Workaround / fixDelete the custom |
The About menu item should link to the |
The Themes menu item was implemented in #51 |
While developing the
archive.html
template file I decided to extract the navigation menusinto separate template parts.
I decided to try two methods.
For the footer menu I extracted the navigation into a
footer-menu
template part then added this to each template, 9 in all.For the
header-2-columns
template part I'd extract the navigation intoheader-menu
, including this template as an inner block. Fewer changes.The text was updated successfully, but these errors were encountered: