menu function bp_nav_menu order of items ?
-
I added the code bp_nav_menu() to the single/parts/item-nav in my child theme and all is working well except the profile buttons are going under settings
I have removed the submenu form all the other page fronts
I am on WP 5.6, BP 7.10So this is the problem
1. The loop for the sub-menus is
a. Putting the profile menu items under a the settings=>profile tab 1, making a third drop down from profile-personal-li and I think it should be under profile not settings.Here is the source codes for the menus while looking at looking at my own profile not as admin.
So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings? It worked okay with the tabbed default menus of the nouveau theme.<li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a> <ul class="sub-menu"> <li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li> <li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li> <li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a> <ul class="sub-menu"> <li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li> <li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li> <li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li> <li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li> </ul> </li> <li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li> <li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li> <li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li> </ul> </li>
Also if you look at someone else’s profile it, the menu leaves out the ones I don’t have access too so there is the profile button then a view buttons at the end which is really for view profile.
Thank you for any help
- You must be logged in to reply to this topic.