How can I call Magento 2's default menu in a static block, so that I can call the static block wherever I want?
-
{{block class="Magento\Theme\Block\Html\Topmenu" name="catalog.topnav" template="Magento_Theme::html/topmenu.phtml"}} not work for me.– fabio orsCommented Aug 9, 2018 at 10:42
-
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review– liyakatCommented Aug 9, 2018 at 11:08
-
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review– Manashvi BirlaCommented Aug 9, 2018 at 11:12
Add a comment
|
1 Answer
{{block class="Magento\Theme\Block\Html\Topmenu" name="catalog.topnav" template="Magento_Theme::html/topmenu.phtml"}}