{"id":8449,"date":"2018-01-04T11:53:25","date_gmt":"2018-01-04T11:53:25","guid":{"rendered":"http:\/\/rifetheme.com\/help\/docs\/basic-setup\/menus\/different-menu-for-various-pages\/"},"modified":"2018-01-04T14:05:13","modified_gmt":"2018-01-04T14:05:13","slug":"different-menu-for-various-pages","status":"publish","type":"docs","link":"https:\/\/rifetheme.com\/help\/docs\/basic-setup\/menus\/different-menu-for-various-pages\/","title":{"rendered":"Different menu for various pages"},"content":{"rendered":"<div data-post-id=\"8472\" class=\"insert-page insert-page-8472 \"><p>If you want to have different menu on various sites, for example: On front page menu with anchors to sections and different for sub-pages, then you can use for this plugin <strong>Menu Swapper<\/strong>.<\/p>\n<p>You can find plugin <a href=\"https:\/\/wordpress.org\/plugins\/menu-swapper\/\">here<\/a>.<\/p>\n<h2>How to use it<\/h2>\n<h3>New theme location<\/h3>\n<p>After you activated plugin, you now have to go to <strong>Settings \u2192 Menu Swapper<\/strong>. There you will have to follow instructions and create new &#8220;theme location&#8221;.<\/p>\n<figure id=\"attachment_8475\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 686px\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8475\" src=\"http:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-theme-location.png\" alt=\"Menu Swapper creating theme location\" width=\"676\" height=\"472\" srcset=\"https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-theme-location.png 676w, https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-theme-location-300x209.png 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><figcaption class=\"caption wp-caption-text\">Menu Swapper creating theme location<\/figcaption><\/figure>\n<h3>Create your menu<\/h3>\n<p>Next we move to <strong>Appearance \u2192 Menus<\/strong> and create new menu, and assign it to location that we have created in previous step. Scroll to <strong>Theme locations<\/strong> and mark menu to use new theme location.<\/p>\n<figure id=\"attachment_8477\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 632px\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8477\" src=\"http:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-new-menu-theme-location.png\" alt=\"Add menu to new theme location\" width=\"622\" height=\"193\" srcset=\"https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-new-menu-theme-location.png 622w, https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-new-menu-theme-location-300x93.png 300w\" sizes=\"auto, (max-width: 622px) 100vw, 622px\" \/><figcaption class=\"caption wp-caption-text\">Add menu to new theme location<\/figcaption><\/figure>\n<h3>Assign your custom menu<\/h3>\n<p>When we have everything prepared, time to swap you default menu with that prepared in previous steps.<\/p>\n<p>To do we go to page that we wish to have with special menu &amp; edit it.<\/p>\n<p>On right side of edit screen you will find box named <strong>Menu Swapper<\/strong>. In it:<\/p>\n<ol>\n<li>In option <strong>Replace this Theme Location<\/strong> you choose <strong>Site Navigation<\/strong><\/li>\n<li>In option <strong>With this Theme Location<\/strong> you chose theme location that we created in first step.<\/li>\n<\/ol>\n<p>Now you should see different menu for this page.<\/p>\n<figure id=\"attachment_8479\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 296px\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8479\" src=\"http:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-swap-menu-on-page.png\" alt=\"Swap menu on specific page\" width=\"286\" height=\"660\" srcset=\"https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-swap-menu-on-page.png 286w, https:\/\/rifetheme.com\/wp-content\/uploads\/2018\/01\/menu-swapper-swap-menu-on-page-130x300.png 130w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><figcaption class=\"caption wp-caption-text\">Swap menu on specific page<\/figcaption><\/figure>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":217,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[],"class_list":["post-8449","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/8449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/comments?post=8449"}],"version-history":[{"count":1,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/8449\/revisions"}],"predecessor-version":[{"id":8474,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/8449\/revisions\/8474"}],"up":[{"embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/217"}],"prev":[{"title":"Creating One Page menu","link":"https:\/\/rifetheme.com\/help\/docs\/basic-setup\/menus\/creating-one-page-menu\/","href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/docs\/8448"}],"wp:attachment":[{"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/media?parent=8449"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rifetheme.com\/help\/wp-json\/wp\/v2\/doc_tag?post=8449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}