How to conclude such a menu in Wordpress?

Help with the solution to a big request

We must conclude that such a simple dropdown menu
<nav class="nav">
 <ul id="menu-golovne-menju" class="nav-list">
 the <li><a href="#">About the Complex<i class="drop-icon"></i></a>
 <ul class="sub-nav-list">
 the <li><a href="#">Benefits</a></li>
 the <li><a href="#">Infrastructure</a></li>
</ul>
</li>
the <li>
 <a href="#">Plan<i class="drop-icon"></i></a>
 <ul class="sub-nav-list">
 the <li><a href="#">Interactive selection</a></li>
 the <li><a href="#">Selection parameters</a></li>
</ul>
</li>
the <li>
 <a href="#">Gallery<i class="drop-icon"></i></a>
 <ul class="sub-nav-list">
 the <li><a href="#">Photos</a></li>
 the <li><a href="#">construction Progress</a></li>
</ul>
</li>
 the <li><a href="#">Contacts</a></li>
</ul>
</nav>
March 23rd 20 at 18:58
1 answer
March 23rd 20 at 19:00
Solution
Hello!
View in the direction of the walker for VP.
Can email to yourself or to connect the finished walkeri. If you need to bootstrap 4+, then -
https://github.com/wp-bootstrap/wp-bootstrap-navwalker
@Elvera.Gra God knows how this Walker to use if you have experience in it, can provide the code I'll be very very grateful - dandre_Hammes70 commented on March 23rd 20 at 19:03
@dandre_Hammes70, why is "God knows")))
there are a huge number of manuals and documentation.
Again, if you bootstrap, then use gotvoice valker.
And read here, these articles -
https://wp-kama.ru/function/walker
https://codex.wordpress.org/Class_Reference/Walker
https://misha.blog/wordpress/nav-menu-walkers.html - Elvera.Gra commented on March 23rd 20 at 19:06

Find more questions by tags WordPress