Hello, I have solved by searching for Google and I have come to this article
Unfortunately it was not with the direct configuration from the program and I had to go for additional codes.
In the footer of the page, put the following script:
then in a code editor edit the header.php by default it places the program ‘depth’ => 2
<? php wp_nav_menu (array (‘theme_location’ => ‘primary’, ‘depth’ => 2,
change it ‘depth’ => 4
<? php wp_nav_menu (array (‘theme_location’ => ‘primary’, ‘depth’ => 4,
and well it was achieved that the menu works as I wanted:
If someone knows a better and more practical option, I thank you, greetings.