{"id":59726,"date":"2016-01-27T05:01:09","date_gmt":"2016-01-27T10:01:09","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=59726"},"modified":"2016-03-07T05:25:32","modified_gmt":"2016-03-07T10:25:32","slug":"cherryframework-4-how-to-use-anchor-links","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-4-how-to-use-anchor-links.html","title":{"rendered":"CherryFramework 4. How to use anchor links"},"content":{"rendered":"<p>This tutorial is going to show how to use anchor links in CherryFramework4 templates.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=vpuwzxK7Ohc?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to use anchor links<\/a>\r\n<p><strong>Before you can create the anchor, you\u2019ll need to switch to the Text Editor.<\/strong> To do this, select the tab labeled as either \u201cText\u201d or \u201cHTML\u201d directly above the right side of the editing area.<\/p>\r\n\r\n<p>In order to create anchor links, you should perform the following steps:<\/p>\r\n\r\n\r\n<ol>\r\n\r\n <li>\r\n   <p>Log into your <strong>Dashboard<\/strong>, navigate to <strong>Pages- All Pages<\/strong> and open the page that has to be changed using anchor links.<\/p>   \r\n <\/li>\r\n \r\n  <li>\r\n   <p>Search for the title of the block that you want to specify as link. Check if there is available <strong>id attribute<\/strong>. If there is no id, create it. The anchor is written like this:<\/p>\r\n  <pre class=\"brush:html\">&lt;a id=\"our-themes\"&gt;I am the anchor.&lt;\/a&gt;<\/pre>\r\n\r\n\r\n<p>The text above which says id=&#8221;unique-identifier&#8221; acts as a label for your anchor.<\/p>\r\n\r\n\r\n  <p class=\"attention\">Note: Make sure you have no spaces in your IDs, since that can cause problems in older browsers. Also, be sure to use a unique ID for each anchor that you create.<\/p><\/li>\r\n \r\n <li>\r\n   <p>After you have found or added an id attribute to the header element of your block, <strong>copy the id attribute<\/strong> or write it down:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1-300x145.png\" alt=\"CherryFramework-4.-How-to-use-anchor-links-1\" width=\"300\" height=\"145\" class=\"aligncenter size-medium wp-image-59727\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1-300x145.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1-150x72.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1-1024x493.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-1.png 1260w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n <\/li>\r\n\t\r\n <li>\r\n   <p>Navigate to <strong>Appearance -> Menus<\/strong> select from the drop down <strong>Header Menu<\/strong>,  click on <strong>Select<\/strong> item:<\/p> \r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2-300x156.png\" alt=\"CherryFramework-4.-How-to-use-anchor-links-2\" width=\"300\" height=\"156\" class=\"aligncenter size-medium wp-image-59728\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2-300x156.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2-1024x532.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-2.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n <\/li>\r\n \r\n <li>\r\n <p>On the left you will see three options to insert a menu item: Pages, Custom Links and Categories. From this list select the <strong>Custom Links<\/strong> option.<\/p> \r\n <\/li>\r\n\r\n\t\r\n <li>\r\n   <p>In order to add link to your anchor, select some text, and then use the <strong>Insert\/Edit link<\/strong> button. In the URL field there, enter the # symbol, followed by the name of the <strong>anchor ID<\/strong>.<\/p>\r\n <p class=\"attention\">Note: If the block is situated on the same page, you don\u2019t need to specify page URL, just #id:<\/p> \r\n<a href=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3-300x144.png\" alt=\"CherryFramework-4.-How-to-use-anchor-links-3\" width=\"300\" height=\"144\" class=\"aligncenter size-medium wp-image-59729\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3-300x144.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3-150x72.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3-1024x492.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-3.png 1279w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n <\/li>\r\n  \r\n <li>\r\n   <p>After you have filled out the URL and Link Text fields, click on <strong>Add to Menu<\/strong> and <strong>Save Menu<\/strong> button. It will insert your link item to the menu on the website.<\/p> \r\n <\/li>\r\n\r\n <\/ol>\r\n \r\n \r\n<p><strong>The second variant to add anchor link into the page will be to use HTML tags.<\/strong><\/p>\r\n   <p>In order to create anchor links, you should perform the following steps:<\/p>\r\n  <ol>\r\n  <li>\r\n   <p>Open the page that will include your anchor links and <strong>specify ID<\/strong> for some block or section as in the previous example:<\/p> \r\n<a href=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4-300x99.png\" alt=\"CherryFramework-4.-How-to-use-anchor-links-4\" width=\"300\" height=\"99\" class=\"aligncenter size-medium wp-image-59730\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4-300x99.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4-150x49.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4-1024x337.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-4.png 1281w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n <\/li>\r\n \r\n <li>\r\n   <p>The second step will be to use <strong>HTML link tag<\/strong>. We have to cover some title or specific part of the content by the HTML structure in order to jump to certain page location. When linking to an anchor on a page, you need to put a # in front of the anchor.\r\n   <br\/>For example:  <strong>&lt;a href=&#8221;specific-id&#8221;&gt;Title&lt;\/a&gt; <\/strong><\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5-300x136.png\" alt=\"CherryFramework-4.-How-to-use-anchor-links-5\" width=\"300\" height=\"136\" class=\"aligncenter size-medium wp-image-59731\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5-300x136.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5-150x68.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5-1024x465.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/12\/CherryFramework-4.-How-to-use-anchor-links-5.png 1283w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n <\/li>\r\n \r\n <li><p>You are able to create several anchors in the same page. Press <strong>Update<\/strong> button and refresh your page. You will see that after clicking on the title content jump to the certain section or click on the page.<\/p>\r\n <\/li>\r\n  \r\n  <\/ol>\r\n\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=vpuwzxK7Ohc?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to use anchor links<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show how to use anchor links in CherryFramework4 templates.<\/p>\n","protected":false},"author":96,"featured_media":59735,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2017,728],"tags":[1017,2012,521],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59726"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=59726"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/59726\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/59735"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=59726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=59726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=59726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}