Hey Guys,
I'm trying to turn the output of wp_page_menu into an accordion menu using the default jQuery implementation.
Is there a way to get wp_page_menu to give only the top level a (or li) tag's their own class? Like this:
<ul>
<li><a class="top-level">"Link 1</a></li>
<li><a class="top-level">"Link 1</a></li>
<li><a class="top-level">"Link 1</a>
<ul>
<li><a>"Link 1</a></li>
</ul>
</li>
</ul>
Thanks!