Releases: AlexWebLab/bootstrap-5-wordpress-navbar-walker
v.1.3.4
Add active class to "current_page_parent" and "current-post-ancestor"
Pull request #15
v1.3.3
Added MIT License
v1.3.2
fixed error: Expected type 'object'. Found 'array'.intelephense(1006)
v1.3.1
Fixed duplicated class attribute
v1.3.0
Added support for dropdown menu (responsive) alignment: https://getbootstrap.com/docs/5.0/components/dropdowns/#menu-alignment
Here is how it works:
if one (or more) class(es) related to dropdown responsive alignment (for instance: dropdown-menu-sm-end) are detected inside the class list of the parent element, then they are copied into the class list of the .dropdown-menu element.
v1.2.1
Moved .active class from li.nav-item to a.nav-link
I like more to have my .active class on li.nav-item but for the sake of following Bootstrap v5.0 navbar component html, I moved into a.nav-link!
v1.1.1
Update README.md
v1.1.0
Added the "register_nav_menu" function in order to keep consistency with naming the menu.
v1.0.0
v1.0.0