Answer the question
In order to leave comments, you need to log in
How to make a separate second level menu in WordPress?
How to make a separate second level menu in WordPress?
That is, you go to the page of the section and the menu of this particular section appears there,
as here
https://www.gazprom.ru/investors/
Answer the question
In order to leave comments, you need to log in
In register_nav_menus you register the menu for each section. And in each section display the corresponding menu.
__DIR__ and $_SERVER['DOCUMENT_ROOT'] return the full path for the server's filesystem, i.e. along with /var/www/
... the user uploads the image through the browser.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question