forked from LiveCarta/LiveCartaWP
LAW-1824 menu extra fields and REST endpoint
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
<?php
|
||||
|
||||
require_once 'inc/walker-nav-menu.php';
|
||||
|
||||
?>
|
||||
</div><!-- .content -->
|
||||
|
||||
<footer>
|
||||
@@ -10,18 +15,25 @@
|
||||
'container' => 'div',
|
||||
'container_class' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
'walker' => new LawCarta_Walker_Nav_Menu(),
|
||||
'theme_location' => 'bottom',
|
||||
]);
|
||||
}
|
||||
if (has_nav_menu('social')):
|
||||
if (has_nav_menu('social')) {
|
||||
wp_nav_menu([
|
||||
'menu' => 'social',
|
||||
'menu_class' => 'nav',
|
||||
'container' => 'div',
|
||||
'container_class' => 'footer-social',
|
||||
'depth' => 1,
|
||||
'walker' => new LawCarta_Walker_Nav_Menu(),
|
||||
'hide_title' => true,
|
||||
'item_wrap' => '',
|
||||
'items_wrap' => '%3$s',
|
||||
'theme_location' => 'social',
|
||||
]);
|
||||
}
|
||||
?>
|
||||
<div class="footer-social">
|
||||
<!--
|
||||
<a href="#" class="twitter"><span class="icon-twitter"></span></a>
|
||||
<a href="#" class="facebook"><span class="icon-facebook"></span></a>
|
||||
-->
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="footer-copyright">© <?= get_option('lawcarta_company'); ?>. All rights reserved.</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user