Current situation: I have created a custom theme that extends from the Magento blank theme.
Requirement: I need to add a section that contains some small images to the footer for the whole site.
Possible solution: keeping with Magento's modular templates, add a template, extend the default.xml layout which references the template.
I have tried to add the template as follows:
<referenceContainer name="footer-container"> <block name="footer.advisories" class="Magento\Framework\View\Element\Template" template="Extending_theme::html/footer_advisories.phtml" /> </referenceContainer>
This produces an invalid template error.
I have also tried
My question is, is it possible to create a template in a theme? If so, how can i reference it? If not, have you any suggestions how I might do this?
I was thinking about creating a custom module, but this seems overkill for what I am trying to achieve.
Thank you in advance, Andy