I want to customize my website footer. To do this I need to update footer, I don't want to customize vendor phtml as this is not recommended.
Current template is
vendor\magento\module-theme\view\frontend\templates\html\footer.phtml
footermagento2
I want to customize my website footer. To do this I need to update footer, I don't want to customize vendor phtml as this is not recommended.
Current template is
vendor\magento\module-theme\view\frontend\templates\html\footer.phtml
Best Answer
Create your own
default.xml
file atapp/design/frontend/<Vendor>/<ThemeName>/Magento_Theme/layout/default.xml
with this content:Now your custom footer.phtml file is called.
Note : Template path should be
app/design/frontend/<Vendor>/<ThemeName>/Magento_Theme/templates/html/footer.phtml