{"id":98,"date":"2020-06-02T15:24:07","date_gmt":"2020-06-02T19:24:07","guid":{"rendered":"http:\/\/mcluhan-template.trubox.ca\/?page_id=98"},"modified":"2020-06-02T15:24:07","modified_gmt":"2020-06-02T19:24:07","slug":"creating-a-menu","status":"publish","type":"page","link":"https:\/\/create.twu.ca\/palvisportfolio\/technical-instructions\/creating-a-menu\/","title":{"rendered":"Creating a Menu"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Menus<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First let&#8217;s go over why menus are important. Menus determine how visitors will interact with your content. They drive navigation and without functional navigation, your ePortfolio is all but useless. Good navigation will allow your visitors to successfully search your site, and they will stay longer as they will be they will be able to find what they are looking for without extraneous scrolling or button clicking. This may sound daunting, but the only thing you need to remember is KEEP IT SIMPLE! <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Visitors will read your menu from left to right so make sure the most important links come first. Also, it looks untidy if titles are lengthy so keep them short. (See <a href=\"#customizing-menu-items\">Customizing Menu Items<\/a> below) Short, sharp and punchy link names work best to capture your readers attention! <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most often, menus appear in the header and\/or footer of a website, the default placement of your menu will depend on the theme you have chosen. Commonly the site&#8217;s menu will appear near the top of the page as a horizontal bar below the site&#8217;s title. On a mobile device, the menu may appear as a hamburger icon (three short horizontal lines) in the top left or right corner of the device. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: Your menu will need to be set each time you change your theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>HELP!  What if pages are automatically appearing in my menu! <\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Generally this means one of two things:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>You have not defined a custom menu yet, by default WordPress will add any new pages to your menu.<\/li><li>You have not unchecked the option to automatically add new pages to your custom menu.<\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\">Defining a Menu<\/h3>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The following steps outline how to define a menu. You must define a menu before you can add items to it:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click <strong>Appearance <\/strong>then click <strong>Menus<\/strong><\/li><li>Select <strong>create a new menu<\/strong> at the top of the page.<\/li><li>Enter a name for the menu in the <em>Menu Name<\/em> box.<\/li><li>Click the <strong>Create Menu<\/strong> button.<\/li><\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"157\" height=\"184\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/appearance-1.png\" alt=\"\" class=\"wp-image-151\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\">Adding the menu to your site<\/h3>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">If your current theme supports custom menus, you will be able to add your new menu to one of the&nbsp;<strong>Theme Locations<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Scroll to the bottom of the menu editor window.<\/li><li>In the section titled&nbsp;<em>Theme locations<\/em>, click the check box for the location where you want your menu to appear.<\/li><li>Click&nbsp;<strong>Save menu<\/strong>&nbsp;once you&#8217;ve made your selection.<\/li><\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-to-site.png\" alt=\"Adding a menu to your site\" class=\"wp-image-113\" width=\"772\" height=\"241\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-to-site.png 772w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-to-site-300x94.png 300w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-to-site-768x240.png 768w\" sizes=\"auto, (max-width: 772px) 100vw, 772px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\" id=\"adding-items-to-a-menu\">Adding Items to a Menu<\/h3>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">You can add different link types into your menu. These are split between panes left of the menu you&#8217;re currently editing.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Locate the <strong>Add menu items <\/strong>pane. (For these instructions we will be using the Pages pane)<\/li><li>Within this pane, select the&nbsp;<em>View All<\/em>&nbsp;link to bring up a list of all the currently published Pages on your site.<\/li><li>Select the Pages that you want to add by clicking the checkbox next to each Page&#8217;s title.<\/li><li>Click the&nbsp;<strong>Add to Menu<\/strong>&nbsp;button located at the bottom of this pane to add your selection(s) to the menu that you created in the previous step.<\/li><li>Once all the items have been added you can drag and drop them into the order you wish for them to appear.<\/li><li>Click the&nbsp;<strong>Save Menu<\/strong>&nbsp;button once you&#8217;ve added all the menu items you want.<\/li><\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"294\" height=\"316\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-items.png\" alt=\"\" class=\"wp-image-120\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-items.png 294w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-menu-items-279x300.png 279w\" sizes=\"auto, (max-width: 294px) 100vw, 294px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\" id=\"customizing-menu-items\">Customizing Menu Items<\/h4>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ol class=\"wp-block-list\"><li>Navigation Label: This is what your visitors will see when they visit your site\/blog, consider using short, sharp and punchy link names.<\/li><li>Title Attribute: This field specifies the Alternative (&#8216;Alt&#8217;) text for the menu item. This text will be displayed when a user&#8217;s mouse hovers over a menu item.<\/li><li>Open link in new tab checkbox: opens linked page\/post\/url in a new tab<\/li><li>CSS Classes: Optional CSS Classes for this menu item<\/li><li>Link Relationship (XFN): Allows for the generation of XFN attributes automatically so you can show how you are related to the authors\/owners of site to which you are linking. See&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Links_Add_New_Screen#Link_Relationship_.28XFN.29_Link_Relationship\" target=\"_blank\" rel=\"noreferrer noopener\">Link Relationship<\/a>&nbsp;for details.<\/li><li>Description: Description for this link. The description will be displayed in the menu if the current theme supports it.<\/li><li>Move: moves the item within the menu<\/li><li>Original: A link to the original item, don&#8217;t forget to save your changes before you navigate away from the menu<\/li><li>Remove\/Cancel: Remove, removes the item from the menu, it does not delete the page\/post. Cancel, cancels the custom changes you have made to the item<\/li><\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"419\" height=\"523\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/customizing-menu-items.png\" alt=\"Customize menu items\" class=\"wp-image-123\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/customizing-menu-items.png 419w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/customizing-menu-items-240x300.png 240w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Creating Drop-down (Multi-level) Menus<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Using drop-down menus keeps your sites navigation simple and clean. We caution on going too deep as it can be frustrating for people who are accessing your site on a mobile device. If possible, keep your menu structure to 2 levels. When planning your menu&#8217;s structure, it may be helpful to think of each item as a heading in a report. Imagine creating the table of contents for this report: All the level 1 headings are nearest to the left, level 2 headings are slightly indented to the right, level 3 headings are indented even further to the right. WordPress has a simple drag and drop interface for creating drop-down menus. If you have not ordered your menu items by dragging and dropping into the correct order as indicated in step 5 of <a href=\"#adding-items-to-a-menu\">Adding Items to a Menu<\/a> you should do so now.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create a drop-down list in your menu you need to position the &#8220;child&#8221; under its &#8220;parent.&#8221;  The following instructions outline how to create drop-down (multi-level) menus:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Ensure the menu items are in the correct order.<\/li><li>Position you mouse over the &#8220;child&#8221;  menu item.<\/li><li>Hold the left mouse button down and drag the item to the right, release the button.<\/li><li>Repeat steps 2 and 3 for each child item.<\/li><li>Click the <strong>Save Menu<\/strong> button.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"alignright size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"467\" height=\"545\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-1.png\" alt=\"Menu structure \" class=\"wp-image-178\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-1.png 467w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-1-257x300.png 257w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"527\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-2.png\" alt=\"Multi-level menu structure\" class=\"wp-image-179\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-2.png 476w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/menu-structure-2-271x300.png 271w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">One final thought, what if you want the &#8220;parent&#8221; to only be a label, text only? You can have a &#8220;parent&#8221; menu item be just text, here&#8217;s how:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>From your dashboard click <strong>Appearance <\/strong>&gt; <strong>Menus<\/strong><\/li><li>Below the heading <strong>Add menu items<\/strong> select <strong>Custom Links<\/strong><\/li><li>In the <strong>URL <\/strong>field replace <em>https:\/\/<\/em> with <strong>#<\/strong><\/li><li>Add your navigation label in the <strong>Link text<\/strong> field<\/li><li>Click <strong>Add to menu<\/strong><\/li><\/ol>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"287\" height=\"464\" src=\"http:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-a-custom-link.png\" alt=\"Adding a custom link to a menu\" class=\"wp-image-184\" srcset=\"https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-a-custom-link.png 287w, https:\/\/create.twu.ca\/palvisportfolio\/files\/2020\/06\/add-a-custom-link-186x300.png 186w\" sizes=\"auto, (max-width: 287px) 100vw, 287px\" \/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Want more information and instructions regarding your menus in WordPress, check out How to Add Navigation Menu in WordPress (Beginner&#8217;s Guide) at: <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-add-navigation-menu-in-wordpress-beginners-guide\/\">https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-add-navigation-menu-in-wordpress-beginners-guide\/ <\/a><\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Menus First let&#8217;s go over why menus are important. Menus determine how visitors will interact with your content. They drive navigation and without functional navigation, your ePortfolio is&#8230;<\/p>\n","protected":false},"author":2087,"featured_media":0,"parent":351,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","footnotes":""},"class_list":["post-98","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/pages\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/users\/2087"}],"replies":[{"embeddable":true,"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":0,"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/pages\/98\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/pages\/351"}],"wp:attachment":[{"href":"https:\/\/create.twu.ca\/palvisportfolio\/wp-json\/wp\/v2\/media?parent=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}