Answer the question
In order to leave comments, you need to log in
How to change classes and tags in Submenu in Wordpress?
Wordpress by default renders submenu as:
<a href="parent_url>Название пункт родителя</a>
<ul class="sub-menu">
<li class="wordpres_classes>
<a href="url">Название пункта меню</a>
</li>
</ul>
<ul>
<div>
<div>
<a>
<a>
Answer the question
In order to leave comments, you need to log in
You need to create a custom walker for the menu, and do whatever you want in it. For example https://misha.blog/wordpress/nav-menu-walkers.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question