Showing results for 
Search instead for 
Did you mean: 

Add button to header links

Add button to header links



I am trying to figure out how to add a button to my header links in porto theme for magento 2.

My header links has now the storeView switcher and the currency switcher.


My question is, What is the right way to add a custom button (called 'testing') beside the header links that, when I click it. it redirect me to a specific url ( for example ) ?


What files should I create/edit and how should I creating/editing them in order to create this button on the header links.


I read many articles, But the idea is still not clear for me as I am still new to magento 2.


Re: Add button to header links

Hello there,


Please check this extension, if it meets your purpose, with this you can add custom header links, buttons on the storefront. 


See screenshot -