- This topic has 7 replies, 3 voices, and was last updated 1 year ago by Tom.
April 2, 2020 at 6:04 am #1223301GIL ANTOLI
It seems to me to have noted a defect in your theme.
When I create a “parent” page the link on this page is displayed in the navigation bar of the corresponding menu.
If now I create a child page of this parent page, I add a parent attribute to the previous page. In the widget “page” I can see the hierarchy of the pages but not in the unfolding of the link of the parent page. Now when I go as an admin to see the menu structure, I can see the hierarchy but when I assign it in the menu it is positioned as the primary and not secondary item of the parent page item. This situation bothers me because I do not want to give an administrator role to the editors of the site.
Michel GIL ANTOLI
PS if you want to see the site, you must notify me so that I can open it.April 2, 2020 at 8:27 am #1223704LeoStaffCustomer SupportApril 2, 2020 at 8:36 am #1223729GIL ANTOLI
it is doneApril 2, 2020 at 8:50 am #1223766LeoStaffCustomer SupportApril 2, 2020 at 10:06 am #1223864GIL ANTOLI
Here is the picture.
I would like that with an editor role we can reproduce the tree structure in the pink menu as in the widget “pages”April 2, 2020 at 4:42 pm #1224235TomLead DeveloperLead Developer
WordPress itself doesn’t allow for sub-menus to be generated automatically.
However, you might be able to use a plugin like this to allow editors to edit the menus: https://wordpress.org/plugins/editor-menu-and-widget-access/April 3, 2020 at 7:21 am #1224865GIL ANTOLI
Hello and thank you for your answer.
does the job. But that does not completely solve my problem since the editor has admin rights on the menus and can manage them instead of the site designer.
Unless I’m mistaken, it seems to me that it is up to the GP theme to manage the reproduction of the hierarchy on the menu according to the parameters supplied via the page “attribute” when designing the page.
RegardsApril 3, 2020 at 12:56 pm #1225516TomLead DeveloperLead Developer
That’s not how the WordPress menu system works, unfortunately.
Everything in the menu is handled by WordPress in the “Appearance > Menus” area of your Dashboard.
They have an option to automatically add top-level menu items, but that won’t help in this case.
- You must be logged in to reply to this topic.