{"id":6849,"date":"2016-11-16T10:45:12","date_gmt":"2016-11-16T10:45:12","guid":{"rendered":"https:\/\/themehunk.com\/?post_type=docs&#038;p=6849"},"modified":"2024-07-10T18:30:21","modified_gmt":"2024-07-10T13:00:21","slug":"add-custom-menu-theme","status":"publish","type":"docs","link":"https:\/\/themehunk.com\/fr\/docs\/add-custom-menu-theme\/","title":{"rendered":"Adding Custom menu in Theme"},"content":{"rendered":"<section class=\"wp-block-group custom-menu has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Adding Custom menu in Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Our themes display all static pages in the theme navigation by default. Custom Menus are a list of common links that are usually displayed as the main navigation for your site. If you want an individual navigation you can follow the points which are given below:-<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">To create a custom navigation menu:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to Appearance > Menu<\/li>\n\n\n\n<li>Click on &#8220;create a new menu&#8221; to create a new menu (eg. Main Menu).<\/li>\n\n\n\n<li>Add the menu items from the left panels.<\/li>\n\n\n\n<li>To create dropdown menu: Drag the menu item toward the right (the item(s) will be indented) and drop it.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1035\" height=\"643\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/dropdown-menu.png?resize=1035%2C643&#038;ssl=1\" alt=\"\" class=\"wp-image-15579\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/dropdown-menu.png?w=1035&amp;ssl=1 1035w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/dropdown-menu.png?resize=300%2C186&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/dropdown-menu.png?resize=768%2C477&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/dropdown-menu.png?resize=1024%2C636&amp;ssl=1 1024w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When you are done adding the menu items, click \u201cSave Menu\u201d.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"160\" height=\"265\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/menu.png?resize=160%2C265&#038;ssl=1\" alt=\"menu\" class=\"wp-image-6843\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"642\" height=\"172\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/point_1.png?resize=642%2C172&#038;ssl=1\" alt=\"point_1\" class=\"wp-image-6844\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/point_1.png?w=642&amp;ssl=1 642w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/point_1.png?resize=300%2C80&amp;ssl=1 300w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">To assign menu locations:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scroll down to the bottom where it says \u201cTheme locations\u201d and tick the menu location checkbox.<\/li>\n\n\n\n<li>Main Navigation = main menu in the header.<\/li>\n\n\n\n<li>Footer Navigation = footer menu in the footer (note: some themes might not have Footer Navigation).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"868\" height=\"431\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/2016-11-16_1543.png?resize=868%2C431&#038;ssl=1\" alt=\"2016-11-16_1543\" class=\"wp-image-6847\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/2016-11-16_1543.png?w=868&amp;ssl=1 868w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/2016-11-16_1543.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/2016-11-16_1543.png?resize=768%2C381&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/2016-11-16_1543.png?resize=400%2C200&amp;ssl=1 400w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Additional menu items<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to pages you have already published, you can add several different types of menu items to your custom menu:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Page \u2013 Adds a link to another page on your site.<\/li>\n\n\n\n<li>Link \u2013 Adds a custom URL linking to another site.<\/li>\n\n\n\n<li>Category \u2013 Shows a feed of blog posts from a given category.<\/li>\n\n\n\n<li>Tag \u2013 Shows a feed of blog posts from a given tag.<\/li>\n\n\n\n<li>Post \u2013 Links directly to a blog post on your site.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"323\" height=\"435\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/3.png?resize=323%2C435&#038;ssl=1\" alt=\"3\" class=\"wp-image-6845\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/3.png?w=323&amp;ssl=1 323w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2016\/11\/3.png?resize=223%2C300&amp;ssl=1 223w\" sizes=\"(max-width: 323px) 100vw, 323px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Key Points:-<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">You can manage the location of the items.<br>You can add many custom menus by creating a new menu but it will show one at a time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more information you can contact our support team at <a href=\"https:\/\/themehunk.com\/fr\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\">support forum<\/a>.<\/p>\n<\/section>","protected":false},"excerpt":{"rendered":"<p>Adding Custom menu in Theme Our themes display all static pages in the theme navigation by default. Custom Menus are a list of common links that are usually displayed as the main navigation for your site. If you want an individual navigation you can follow the points which are given below:- To create a custom [&hellip;]<\/p>\n","protected":false},"author":7288,"featured_media":0,"template":"","meta":{"footnotes":""},"class_list":["post-6849","docs","type-docs","status-publish","hentry","docscate-documentation","docstag-blog","docstag-custom","docstag-post","docstag-support"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/docs\/6849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/users\/7288"}],"version-history":[{"count":1,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/docs\/6849\/revisions"}],"predecessor-version":[{"id":69774,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/docs\/6849\/revisions\/69774"}],"wp:attachment":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/media?parent=6849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}