Menu
Hi there, ?
I have a dropdown menu with a main menu and a sub menu. The sub menus are only displayed if the css class=”sub menu-item”. However, when the css class is “sub menu-item”, I [B]do not
What I want to accomplish is this:
<li class=”sub menu-item”>(If li class=”sub menu-item”, display <a>Link Text</a> else display <a href=”link.html”>Link Text</a></li>
I am new to PHP and using this to be implemented with Wayfinder in MODX. Any help is greatly appreciated.?