[Resolved] parent class missing in menus
I use BGMP 1.10 with success, but I’ve noticed a “bug” with WP and the menus (made with Appearance > Menus in WP): parent items loose their “parent” class in the HTML code.
When BGMP is deactivated:
<ul id="menu-main-nav"> <li id="item-505" class="menu-item menu-item-type-post_type menu-item-object-page parent"> <a href="my_link"> My text</a> </li> <li id="item-209" class="menu-item menu-item-type-post_type menu-item-object-page parent"> <a href="my_other_link"> My text 2</a> </li> </ul>
And when BGMP is activated, the HTML is exactly the same, except that the “parent” class is missing! This is very annoying as I cannot see and access the children items in the menu in this case.
I had to adapt the BGMP code for our needs, but I don’t think that my few changes have impacted anything. Maybe other users have encountered the same problem?
Thanks for any help.
- The topic ‘[Resolved] parent class missing in menus’ is closed to new replies.