There is a site on wp, you need to bring the menu to the form:
<nav itemscope itemtype="http://www.schema.org/SiteNavigationElement"> <ul class="menu"> <li itemprop="name"><a itemprop="url" href="https://123.ru/">Главная</a></li> <li itemprop="name"><a itemprop="url" href="https://123.ru/author-bloga/">Автор</a></li> </ul> </nav> Now it looks like this:
<div id="navbar-collapse-1" class="navbar-collapse collapse"><ul class="nav navbar-nav"><li id="menu-item-1992" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-1992"><a title="Главная" href="https://123.ru/">Главная</a></li><li id="menu-item-1993" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1993"><a title="О нас" href="https://123.ru/">О нас</a><ul class="sub-menu"><li id="menu-item-2142" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2142"><a title="Документы" href="https://123.ru/">Документы</a></li> I don’t think where it’s correct, the whole template has been dug up and never found.
wp_nav_menu(), where several hooks are used to modify both classes and the entire html menu. But you need not. First, break the functionality of the menu and submenu. All css on these classes hangs, and sometimes js. And secondly, do you seriously believe that you understand SEO better than the team of the creators of WP? - KAGG Design