cancel
Showing results for 
Search instead for 
Did you mean: 

Customize footer, with subscribe

Customize footer, with subscribe

I want to remove all links from the footer, add my own layout and links. but still, I want to leave the subscribe section in footer. should I add the subscribe to my own custom block? how do I do that? 

3 REPLIES 3

Re: Customize footer, with subscribe

@naftalayevf014 yeah you can use the default subscribe block in your layout file.

It will work with your custom links as well.

 

Hope it helps.

 

Thanks

Re: Customize footer, with subscribe

thank u,
how do I add the subscribe block to my custom block?

Re: Customize footer, with subscribe

@naftalayevf014 just add this block where ever you want it to be show.

 

<block class="Magento\Newsletter\Block\Subscribe" name="form.subscribe" as="subscribe" after="footer_logo" template="Magento_Newsletter::subscribe.phtml" ifconfig="newsletter/general/active"/>

Hope it helps.

 

Thanks