Skip to content

Extract the navigation menus into separate template parts. #17

@bobbingwide

Description

@bobbingwide

While developing the archive.html template file I decided to extract the navigation menus
into 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.

<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie" "className":"footer-menu"} /-->

For the header-2-columns template part I'd extract the navigation into header-menu, including this template as an inner block. Fewer changes.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions