Insert Link by Typing Code

Method 2: Type the Code to Insert a Link

There are three methods you can use to insert a page link in a block. This article explains how to type the code for a link.

  1. From the Admin panel, go to CMS > Static Blocks.
  2. In the Static Blocks list, click to open the Footer Links block.
  3. Click the Show / Hide Editor button to display the code for the block content.
  4. Follow the example below, and type the link for each page into the content box, substituting the actual URL key and page title for each page linked.
  5. <ul>
    <li><a href="{{store direct_url="about-us"}}">About Us</a></li>
    <li><a href="{{store direct_url="privacy-policy"}}">Privacy Policy</a></li>
    <li class="last"><a href="{{store direct_url="customer-service"}}">Customer Service</a></li>
    </ul>
  6. Click the Show / Hide Editor button to return to the editor.
  7. Click the Save Block button to save the changes. Then, return to your store and test the link to make sure it works correctly.
Footer Links
Footer Links

Discussion:

RSS: New Article posts

Explore the Knowledge Base