How i dynamic wordpress header menu? the html is in the body..this is situated in header.php

by Sayan Dutta   Last Updated August 14, 2019 15:08 PM

<div class="collapse navbar-collapse" id="navbarSupportedContent">
                      <ul class="navbar-nav ml-md-auto">


                         <li class="nav-item dropdown">
                          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Dropdown
                          </a>
                          <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                            <a class="dropdown-item" href="#">Action</a>
                            <a class="dropdown-item dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">Another action</a>

                                 <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                    <a class="dropdown-item" href="#">Action</a>
                                    <a class="dropdown-item" href="#">Another action</a>
                                  </div>
                          </div>
                        </li>

                      </ul> 
</div>
Tags : menus


Related Questions


How to create a category menu?

Updated March 28, 2015 06:02 AM

How to align last 3 menu items to the right

Updated March 27, 2015 05:02 AM

Check if page is in a certain menu

Updated March 28, 2015 11:02 AM