How can I create a drop down menu for CMS pages in Magento
-
10-12-2020 - |
Question
I would like to create a simple dropdown menu for CMS pages as there are main pages and then sub pages
For example I have
ABOUT US
- sub category item
BIKE FITTING
- Road Bike fitting
- Mountain Bike fitting
SERVICING
- Kind of service 1
- Kind of service 2
etc
These are all CMS pages and I've created a sub category level in category management - I am new to Magento...so please excuse me if this is ridiculous
<?php $_menu = $this->getHtml('level-top') ?>
<?php if($_menu): ?>
<nav id="nav">
<ol class="nav-primary">
<?php echo $_menu ?>
</ol>
</nav>
<?php endif ?>
Solution
This free extension can help you sort it out
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange