From dd1fb1a86ce49886eda5a4efe2e818c83cd80ed2 Mon Sep 17 00:00:00 2001 From: desmukh Date: Mon, 16 Jan 2023 17:26:36 +0500 Subject: [PATCH] create nav-menu template part --- parts/nav-menu.html | 1 + theme.json | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 parts/nav-menu.html diff --git a/parts/nav-menu.html b/parts/nav-menu.html new file mode 100644 index 0000000..b3ad6e6 --- /dev/null +++ b/parts/nav-menu.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/theme.json b/theme.json index e587908..28bee0e 100644 --- a/theme.json +++ b/theme.json @@ -71,5 +71,11 @@ "background": "var(--wp--preset--color--background)", "text": "var(--wp--preset--color--foreground)" } - } + }, + "templateParts": [ + { + "name": "nav-menu", + "title": "Navigation" + } + ] }