{"id":1349,"date":"2022-02-08T09:30:48","date_gmt":"2022-02-08T14:30:48","guid":{"rendered":"https:\/\/carleton.ca\/cms-help\/?page_id=1349"},"modified":"2022-03-03T09:15:08","modified_gmt":"2022-03-03T14:15:08","slug":"anchor","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/","title":{"rendered":"Anchor"},"content":{"rendered":"<p>Having an anchor on your page will bring your site&#8217;s visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and creating a link to that anchor.<\/p>\n<p>For a sample anchor, <a href=\"#video\">this link leads to the video tutorial further down this page<\/a><\/p>\n<h2>Step-by-Step<\/h2>\n<h3>Create an anchor<\/h3>\n<ol>\n<li>Click in the Content Editor area where you would like to place the anchor.<\/li>\n<li>Click on the anchor icon from the editing panel.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-315 size-full\" src=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Screen-Shot-2016-07-05-at-3.45.06-PM-e1644851192629.png\" alt=\"Screen Shot 2016-07-05 at 3.45.06 PM\" width=\"247\" height=\"107\" srcset=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Screen-Shot-2016-07-05-at-3.45.06-PM-e1644851192629.png 247w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Screen-Shot-2016-07-05-at-3.45.06-PM-e1644851192629-160x69.png 160w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/Screen-Shot-2016-07-05-at-3.45.06-PM-e1644851192629-240x104.png 240w\" sizes=\"(max-width: 247px) 100vw, 247px\" \/><\/li>\n<li>Enter a name for your anchor. Be sure to use a name that will be recognizable. Do not use spaces or special characters in the name.<\/li>\n<li>Click\u00a0<strong>OK<\/strong>.<\/li>\n<li>A small anchor will appear in the content editing area. This icon will not be visible on your site. This anchor indicates the point where the anchor link will lead.<\/li>\n<\/ol>\n<h3>Link to an anchor<\/h3>\n<ol>\n<li>Create an anchor using the steps above.<\/li>\n<li>On the page you would like your link to appear on, highlight the linking text.<\/li>\n<li>Click on the &#8220;Insert\/edit link&#8221; button.<\/li>\n<li>Paste the URL of the page you are linking to, and add a hashtag and your anchor name to the end of the URL (ex. carleton.ca\/example#anchor).<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1521 size-full\" src=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external.png\" alt=\"\" width=\"673\" height=\"115\" srcset=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external.png 673w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external-240x41.png 240w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external-400x68.png 400w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external-160x27.png 160w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-external-360x62.png 360w\" sizes=\"(max-width: 673px) 100vw, 673px\" \/>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>If you are linking to an anchor on the same page as your linking text, you can also just type the hashtag and anchor name (ex. #anchor)<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1522 size-full\" src=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page.png\" alt=\"\" width=\"594\" height=\"124\" srcset=\"https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page.png 594w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page-240x50.png 240w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page-400x84.png 400w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page-160x33.png 160w, https:\/\/carleton.ca\/cms-help\/wp-content\/uploads\/anchor-example-same-page-360x75.png 360w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/li>\n<\/ol>\n<\/li>\n<li>Hit Enter or press the <strong>Apply<\/strong> button<\/li>\n<\/ol>\n<h2><a id=\"video\"><\/a>Video Tutorial<\/h2>\n<div class=\"content__video\"><iframe loading=\"lazy\" title=\"Module Three: Anchors\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/rsigLXwaKuw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<h3>Transcript<\/h3>\n<div class=\"slideme\"><dl class=\"slideme__list\"><dt class=\"slideme__term\"><a href=\"#slideme-module-three-anchors\" aria-expanded=\"false\" aria-controls=\"slideme-module-three-anchors\" class=\"slideme__heading slideme__trigger\">Module Three: Anchors<\/a><\/dt><dd class=\"slideme__description\" id=\"slideme-module-three-anchors\" aria-hidden=\"true\"><p><\/p>\n<p><span style=\"font-weight: 400;\">Hello and welcome to Module 3 of our Advanced CMS Training. This video will cover anchors. Anchors allow visitors to your page to easily jump to specific parts of the page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">First, you will need to place an anchor onto your page. You can do this by clicking where you would like your anchor to be within the content editor. Then, just click the anchor icon. From the screen that pops up, type your anchor title into the Id field. Then click <strong>OK<\/strong>. The anchor will appear on the content editor.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Next, you need to link to your anchor. You can link within the same page or link to it from another page. To create this link, highlight the text you want to link to your anchor. Then click the <strong>Insert \/ edit link<\/strong> button. Within the field that appears, insert the link of the page where your anchor is. At the end of the URL, type a hashtag and then your anchor name. If you\u2019re linking to an anchor within the same page, you can omit the URL and just insert the hashtag and anchor. In either case, when you\u2019re done, hit the <strong>Apply<\/strong> button.<\/span><\/p>\n<p><\/p><\/dd><dl><\/div>\n<h2>Try It Out!<\/h2>\n<p>Anchors are useful for easily navigating page content. Try adding one to your page!<\/p>\n<ol>\n<li>Create an anchor on a page.<\/li>\n<li>Link to that anchor from that same page.<\/li>\n<li>Link to that anchor from another page.<\/li>\n<\/ol>\n\n<div class=\"u-center-text\">\n\t<p>\n\t\t<a class=\"button__red button__red--solid\" href=\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-4-forms\/\"  rel=\"noopener noreferrer\">Next: Module 4<\/a>\n\t<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Having an anchor on your page will bring your site&#8217;s visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and creating a link to that anchor. For a sample anchor, this link leads to the video tutorial further down this page Step-by-Step Create an anchor Click in the [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"parent":864,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Anchor - Carleton CMS Help Centre<\/title>\n<meta name=\"description\" content=\"Having an anchor on your page will bring your site&#039;s visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/\",\"url\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/\",\"name\":\"Anchor - Carleton CMS Help Centre\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/cms-help\/#website\"},\"datePublished\":\"2022-02-08T14:30:48+00:00\",\"dateModified\":\"2022-03-03T14:15:08+00:00\",\"description\":\"Having an anchor on your page will bring your site's visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/cms-help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced Training\",\"item\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Module 3: Advanced Post Elements\",\"item\":\"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Anchor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/cms-help\/#website\",\"url\":\"https:\/\/carleton.ca\/cms-help\/\",\"name\":\"Carleton CMS Help Centre\",\"description\":\"Web Services - Carleton university\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/cms-help\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Anchor - Carleton CMS Help Centre","description":"Having an anchor on your page will bring your site's visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/","url":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/","name":"Anchor - Carleton CMS Help Centre","isPartOf":{"@id":"https:\/\/carleton.ca\/cms-help\/#website"},"datePublished":"2022-02-08T14:30:48+00:00","dateModified":"2022-03-03T14:15:08+00:00","description":"Having an anchor on your page will bring your site's visitors to designated areas of a page. Adding an anchor involves two steps: creating an anchor and","breadcrumb":{"@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/anchor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/cms-help\/"},{"@type":"ListItem","position":2,"name":"Advanced Training","item":"https:\/\/carleton.ca\/cms-help\/advanced-training\/"},{"@type":"ListItem","position":3,"name":"Module 3: Advanced Post Elements","item":"https:\/\/carleton.ca\/cms-help\/advanced-training\/module-3-advanced-post-elements\/"},{"@type":"ListItem","position":4,"name":"Anchor"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/cms-help\/#website","url":"https:\/\/carleton.ca\/cms-help\/","name":"Carleton CMS Help Centre","description":"Web Services - Carleton university","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/cms-help\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"banner_image_type":null,"banner_uploaded_image":null,"banner_hosted_image":null,"banner_opacity":null,"banner_button":null,"banner_buttons":null},"_links":{"self":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/1349"}],"collection":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/comments?post=1349"}],"version-history":[{"count":3,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/1349\/revisions"}],"predecessor-version":[{"id":1531,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/1349\/revisions\/1531"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/pages\/864"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cms-help\/wp-json\/wp\/v2\/media?parent=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}