Custom Footer Links Magento

Hello All,

When we install Magento, we can see that we have two rows in footer links (theme – default).

We can edit the links in the top row from CMS block with title ‘Footer Links’.

The links in the second row cannot be edited directly, they come from the XML files.

I am writing here the code for adding custom links in the second row.

Below code to be written in app/design/frontend/[your_package]/[your_theme]/layout/local.xml (or page.xml if you do not have local.xml)


<layout>

	<default>

	<!-- below code for links -->

        <!--start-->

      	<reference name="footer_links">

      		<action method="addLink" translate="label title">

                <label>About Us</label>

                <url>about-us</url>

                <title>About Us</title>

                <prepare>true</prepare>

            </action>  

            <action method="addLink" translate="label title">

                <label>Home</label>

                <url>home</url>

                <title>Home</title>

                <prepare>true</prepare>

            </action>           

        </reference>

        <!--end-->

	</default>    

</layout>

Hope this is useful

2 thoughts on “Custom Footer Links Magento

Leave a Reply to Chris Moore Cancel reply

Your email address will not be published. Required fields are marked *

Scroll to top