footer menu

This commit is contained in:
Manish 2024-03-15 11:02:06 +05:45
parent 095b02175d
commit 3e2447d14c
2 changed files with 25 additions and 5 deletions

View File

@ -66,13 +66,22 @@
<div class="footer-widget footer-menu-widget clearfix"> <div class="footer-widget footer-menu-widget clearfix">
<h4 class="footer-title">Recent Links</h4> <h4 class="footer-title">Recent Links</h4>
<div class="footer-menu"> <div class="footer-menu">
<ul> <?php
$args = array(
'theme_location'=>'footer',
'menu_class' =>'',
'container' =>'',
);
wp_nav_menu($args);
?>
<!-- <ul>
<li><a href="about-us">About Us</a></li> <li><a href="about-us">About Us</a></li>
<li><a href="products">Our Products</a></li> <li><a href="products">Our Products</a></li>
<li><a href="contact-us">Contact Us</a></li> <li><a href="contact-us">Contact Us</a></li>
<li><a href="faq">FAQs</a></li> <li><a href="faq">FAQs</a></li>
</ul> </ul> -->
</div> </div>
</div> </div>
</div> </div>
@ -80,14 +89,23 @@
<div class="footer-widget footer-menu-widget clearfix"> <div class="footer-widget footer-menu-widget clearfix">
<h4 class="footer-title">Quick Links</h4> <h4 class="footer-title">Quick Links</h4>
<div class="footer-menu"> <div class="footer-menu">
<ul> <?php
$args = array(
'theme_location'=>'footer-1',
'menu_class' =>'',
'container' =>'',
);
wp_nav_menu($args);
?>
<!-- <ul>
<li><a href="workplace-diversity">Diversity Work Environment</a></li> <li><a href="workplace-diversity">Diversity Work Environment</a></li>
<li><a href="championing-equit">Equity Advocacy</a></li></a></li> <li><a href="championing-equity">Equity Advocacy</a></li></a></li>
<li><a href="child-labor-free">ChildLabor Free Practices</a></li> <li><a href="child-labor-free">ChildLabor Free Practices</a></li>
<li><a href="distribution-locations">Distribution Locations</a></li> <li><a href="distribution-locations">Distribution Locations</a></li>
<li><a href="terms-condition">Terms and Conditions</a></li> <li><a href="terms-condition">Terms and Conditions</a></li>
<li><a href="privacy-policy">Privacy Policy</a></li> <li><a href="privacy-policy">Privacy Policy</a></li>
</ul> </ul> -->
</div> </div>
</div> </div>
</div> </div>

View File

@ -50,6 +50,8 @@ function abchospitality_setup() {
register_nav_menus( register_nav_menus(
array( array(
'menu-1' => esc_html__( 'Primary', 'abchospitality' ), 'menu-1' => esc_html__( 'Primary', 'abchospitality' ),
'footer' => esc_html__( 'Secondary', 'abchospitality' ),
'footer-1' => esc_html__( 'Footer Right', 'abchospitality' ),
) )
); );