Commit c604b3e9 authored by allan's avatar allan

add footer links menu

parent 423b10bd
Pipeline #1489 passed with stage
in 0 seconds
......@@ -15,13 +15,13 @@
<div class="site-info">
<div class="coordinators-label"><?php echo pll__('Campaign coordinators') ?></div>
<div class="coordinators">
<a href="https://panoptykon.org/" target="_blank" title="Fundacja Panoptykon"><img src="/wp-content/images/logos/panoptykon.png" alt="Fundacja Panoptykon"></a>
<a href="https://www.stdem.org/" target="_blank" title="Democracy and Media Foundation"><img src="/wp-content/images/logos/dmf.png" alt="Democracy and Media Foundation"></a>
<a href="https://www.bof.nl/" target="_blank" title="Bits of Freedom"><img src="/wp-content/images/logos/bof.png" alt="Bits of Freedom"></a>
<a href="https://www.edri.org/" target="_blank" title="European Data Rights"><img src="/wp-content/images/logos/edri.png" alt="European Data Rights"></a>
<a href="https://panoptykon.org/" target="_blank" title="Fundacja Panoptykon"><img src="/wp-content/images/logos/panoptykon.png" alt="Fundacja Panoptykon"></a>
<div class="footer-links">
<?php if ( has_nav_menu( 'social' ) ) : ?>
<?php wp_nav_menu( array( 'theme_location' => 'social', 'depth' => 1, 'container_class' => 'social-links' ) ); ?>
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<?php wp_nav_menu( array( 'theme_location' => 'footer', 'depth' => 1, 'container_class' => 'footer-links' ) ); ?>
<?php endif; ?>
</div>
</div>
......
......@@ -45,6 +45,7 @@ function intergalactic_setup() {
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'intergalactic' ),
'social' => __( 'Social Links Menu', 'intergalactic' ),
'footer' => __( 'Footer Menu', 'intergalactic' ),
) );
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment