LAW-1824 menu extra fields and REST endpoint

This commit is contained in:
Andrey Morgachev
2018-08-17 14:46:31 +03:00
parent 3b5be35fe8
commit 013e82d75d
7 changed files with 439 additions and 26 deletions

View File

@@ -1,3 +1,8 @@
<?php
require_once 'inc/walker-nav-menu.php';
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
@@ -31,6 +36,8 @@
'container' => 'div',
'container_class' => 'header-menu',
'depth' => 1,
'walker' => new LawCarta_Walker_Nav_Menu(),
'icon_wrap' => 'i',
'theme_location' => 'top',
]);
}