Hello Magento Family ? 

Hope you’re safe and sound. Welcome to Magento 2 How to blog series. Today’s article is on How to add Dynamic Link to Footer in Magento 2. Coincidentally, if you missed out on our last published blog [Solved] MySQL: Error while sending QUERY packet. PID=XXX” with Magento 2 Migration.


Footers are the major components of a website. Footers are added at the bottom of every webpage that may include page numbers, dates, copyrights, logo, or links. One can add dynamic links to the footer in order to redirect users to other essential pages of the website. Adding references to the footer helps to catch the customer’s attention and boost sales by redirecting them to make the final purchase or other information.

With the below-mentioned code, you can add Dynamic Link to Footer in your Magento 2 store to increase the user experience. Let’s go for it ?

Steps to add Dynamic Link? to Footer in Magento 2:

Step 1 : First of all, you need to Create default.xml layout file in Frontend Area. Default xml file will call each page of the website.


Step 2 : Now, you need to create a Block File with the name Link.php or you can give any name which is described in the block tag under the default.xml file.


This is how you can add a footer link to your Magento 2 store website.


I hope the above solution will help you to add Dynamic Link to Footer in Magento 2. In case of any trouble, let me know in the comment section below and I will be quick to solve it. Also, share it with your Magento 2 buddies.

Happy Coding ?

Click to rate this post!
[Total: 6 Average: 4.2]