To add page links in the footer in Magento:
- Log in to the Magento admin panel.
- Go to “Content” -> “Pages.”
- Create a new page or edit an existing one.
- In the “Content” section, add a link to the page you want to include in the footer.
- Save the page.
- Go to “Stores” -> “Configuration” -> “General” -> “Design.”
- Find the “Footer” section and open it.
- In the “Miscellaneous HTML” field, add the following code:php
<li><a href="{{store direct_url='page-url'}}">Page Name</a></li>
Replace “page-url” with the actual URL key of the page and “Page Name” with the desired text to display as the link.
- Save the configuration.
- Clear the Magento cache.
Your page link should now be displayed in the footer.