I don’t know what’s going on. I had a similar post before and again I am running in to display problems.
I have three roles created for three different customer groups we have.
Some menu items are assigned to all of those roles and others to one or two.
I have also told each menu item to be visible to admin. So I can see all menu’s while logged in as admin to save having to login and out as each role.
The below images show the roles as allocated to the top most menu item. Each menu item has the Administrator ticked but every other one has any mix of Mitre10, IS Customers or Full Order Form depending on the customer that needs to see that menu.
Then the view of a user logged in as an “IS Customer” and a view of someone just going to website without being logged in.
For the logged in user it displays as it should. But for the logged out user it breaks the whole structure in to individual menu items.
Roles allocation to top menu item
Since there is no way (as far as I know) to kill a menu “tree” (ie all the dropdowns under a menu item), all the sub-items must have the same role settings as the parent item.
When Logged out, the “ordering” menu item is hidden, so the sub-items have no parent and all heck breaks out.
OK I’m confused.
“Odering” is not hidden when logged out. If you look at the line up in the logged out image it is in amongst it.
If “Ordering” isn’t specifically the problem, I still suspect it is similar that a parent item is not displayed but it’s children still are.
I don’t have an account (nor want one) with image shack. I have sent you a mail with credentials. As the images are only what you’ll see anyhow when you follow the email I sent.
Admin role setup
For future readers, the menu structure can commonly be broken, because all the sub-items must have the same role settings as the parent item. As far as I know, there is no way around this.
However, in this instance, there are clearly 2 different menus being displayed. When logged out, the theme is showing
wp_page_menu()which cannot be filtered the same way by my plugin.
- The topic ‘Menu Display issues’ is closed to new replies.