{"id":1342,"date":"2017-11-14T20:35:05","date_gmt":"2017-11-14T20:35:05","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=1342"},"modified":"2017-11-14T20:35:05","modified_gmt":"2017-11-14T20:35:05","slug":"menus","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/menus\/","title":{"rendered":"Menus"},"content":{"rendered":"<h2>A Quick Note on Menu Limitations and Capabilities<\/h2>\n<p>Menus are composed of headers and links. The headers are followed by a downward arrow to indicate that they contain a dropdown to an extended menu. This is behavior is typical for website navigation. However, at the time of this writing, WordPress only<br \/>\nallows you to add one level of nesting.<\/p>\n<p>In order to support more nested levels, and navigation that is specific to only certain pages within a website, the Web Team created the More Nav functionality. This functionality &#8212; which we will discuss more later on this tutorial &#8212; allows the user to create unlimited levels of nesting for navigation, but it does have its limitations.<\/p>\n<h2>Add a Menu to Your WordPress Site<\/h2>\n<h3>Finding the Menu Editing Page<\/h3>\n<ol type=\"1\">\n<li>Go to your Dashboard<\/li>\n<li>Go to Appearance &gt; Menus<\/li>\n<li>Notice under Menu Structure there is a set of boxes with the names of the pages in your site. This is a default menu WordPress created. You can edit this menu &#8212; scroll down to\u00a0<a href=\"#editingMenuItems\">Editing Menu Items<\/a> &#8212; or create a new menu.<\/li>\n<\/ol>\n<h3>Adding a New Menu<\/h3>\n<ol>\n<li>On the top left of the page, under Edit Menus, click the linked text <u>create a new menu<\/u><\/li>\n<li>Enter the name of the new menu in the <em>Menu Name<\/em> box.<\/li>\n<li>Click the Save Menu button<\/li>\n<\/ol>\n<h3>Adding Items to the Menu<\/h3>\n<ol>\n<li>Choose one of the options to the left. Either Pages, Posts, Custom Links, or Categories. <em>NOTE: In most cases you will use Pages to link to existing pages in your site or Custom Links for external pages.<\/em><\/li>\n<li>If you are looking to add a new post or page look under the Most Recent button, select the page\/post by clicking on the square next to the title, and press the <em>Add to Menu<\/em> button.<\/li>\n<li>If you have too many pages in your site it may be easier to click on the Search tab, and enter the page title<\/li>\n<li>Now following these instructions add at least one item to the menu<\/li>\n<li>Click the Save Menu button<\/li>\n<\/ol>\n<h3>Creating Nested Menu Items\/Menu Headers<\/h3>\n<ol>\n<li>Once you create two or more items you can drag an item under another item<\/li>\n<li>Notice that the item on top will now become a header &#8212; this means that it will no longer link to a page, but only serve as a header to items listed under it.<\/li>\n<li><strong>NOTE:<\/strong> you can only create one level of nested items using this method. If you attempt to make a submenu item into a header by adding other items under it, WordPress will ignore the items under that item.<\/li>\n<li>To accomplish multi-level nesting scroll down to <a href=\" #moreNav \">More Nav or Additional Menus<\/a><\/li>\n<\/ol>\n<h3 id=\"editingMenuItems \">Editing Menu Items<\/h3>\n<ol>\n<li>Under <em>Menu Structure<\/em> notice two things:\n<ol>\n<li>The instruction that tells you to &#8220;drag each item into the order you prefer &#8220;. You will notice that the menu items are organized as boxes that can be dragged to the preferred position by clicling and dragging them up or down<\/li>\n<li>The arrow to the right of the post type &#8211;&#8220;Page &#8220;, &#8220;Post &#8220;, etc. &#8212; expands the options for that item.<\/li>\n<\/ol>\n<\/li>\n<li>Click on the downward arrow on the right of the menu item box to expand options<\/li>\n<li>Change the value of the <em>Navigation Label<\/em><\/li>\n<li>Notice you can varify that the item is the correct one by clicking on the linked text next to where it says<em>Original<\/em><\/li>\n<li>You can remove the item by pressing the Remove button<\/li>\n<li>You can cancel your edit by pressing the Cancel button<\/li>\n<\/ol>\n<h3>Menu Settings<\/h3>\n<ol>\n<li><em>Auto add pages<\/em>: just as the name implies, this option will automatically add to your menu any new top-level pages.<\/li>\n<li><em>Primary Menu:<\/em> check this option if you would like to make this your primary menu. The primary menu will appear on all pages.<\/li>\n<\/ol>\n<h2 id=\"moreNav \">More Nav or Additional Menus<\/h2>\n<p>Additional menus can be added to specific pages and their child pages. These menus will appear in addition to the main menu.<\/p>\n<p>This functionality can be used for two purposes:<\/p>\n<ol>\n<li>Creating navigation with multiple levels of nested headers<\/li>\n<li>Creating navigation specific to only a set of pages within a website<\/li>\n<\/ol>\n<h3>Using More Nav<\/h3>\n<ol>\n<li>After you created a menu and set it to be the Primary follow the steps above to create secondary menus. Note that the main difference is that you can have multiple levels of nesting.<\/li>\n<li>Once you have created a secondary menu, go to the editor on the page you would like to use it in.<\/li>\n<li>On the page editor scroll down to the box on the right side entitled &#8220;More Nav&#8221;<\/li>\n<li>Click on the drop down labeled &#8220;Display Library Hours for:&#8221; and choose the appropriate menu.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>A Quick Note on Menu Limitations and Capabilities Menus are composed of headers and links. The headers are followed by a downward arrow to indicate that they contain a dropdown to an extended menu. This is behavior is typical for website navigation. However, at the time of this writing, WordPress only allows you to add [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1342","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/1342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=1342"}],"version-history":[{"count":6,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/1342\/revisions"}],"predecessor-version":[{"id":1350,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/1342\/revisions\/1350"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=1342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}