create nav-menu template part

This commit is contained in:
desmukh 2023-01-16 17:26:36 +05:00
parent 549f202411
commit dd1fb1a86c
2 changed files with 8 additions and 1 deletions

1
parts/nav-menu.html Normal file
View File

@ -0,0 +1 @@
<!-- wp:navigation {"ref":104,"layout":{"type":"flex","orientation":"vertical","justifyContent":"right"}} /-->

View File

@ -71,5 +71,11 @@
"background": "var(--wp--preset--color--background)", "background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)" "text": "var(--wp--preset--color--foreground)"
} }
} },
"templateParts": [
{
"name": "nav-menu",
"title": "Navigation"
}
]
} }