add footer menu area

This commit is contained in:
Jonas Heinrich 2020-04-03 16:42:56 +02:00
parent 9c188c34c1
commit 2122aa387a
5 changed files with 32 additions and 37 deletions

View file

@ -97,42 +97,7 @@
</div> </div>
</section> </section>
<section class="footer-bottom"> <?php get_template_part('template-parts/footer-nav'); ?>
<div class="content-wrap">
<ul>
<li>
<a href="https://www.kit-ausbildung.de/de/faq">FAQ</a>
</li>
<li>
<a href="http://www.kit.edu/impressum.php" target="_blank">Impressum</a>
</li>
<li>
<a href="http://www.kit.edu/datenschutz.php" target="_blank">Datenschutz</a>
</li>
<li>
<a href="https://www.kit-ausbildung.de/fileadmin/user_upload/2019-04-25_Datenschutzerklaerung_Bewerbung_Ausbildung.pdf">Datenschutz Bewerber</a>
</li>
<li>
<a href="https://www.lists.kit.edu/sympa/subscribe/kit-ausbildung" target="_blank">Newsletter abonnieren</a>
</li>
<li>
<a href="https://www.kit-ausbildung.de/de/ueber-das-kit/newsletter-archiv">Newsletter Archiv</a>
</li>
</ul>
</div>
</section>
</footer> </footer>
<script src="index_files/jquery_002.js" type="text/javascript"></script> <script src="index_files/jquery_002.js" type="text/javascript"></script>

9
kit/functions.php Normal file
View file

@ -0,0 +1,9 @@
<?php
function kit_setup() {
register_nav_menus( array(
'primary' => esc_html__( 'Footer Menu', 'kit' ),
) );
};
add_action( 'after_setup_theme', 'kit_setup' );

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 52 37" style="enable-background:new 0 0 52 37;" xml:space="preserve">
<style type="text/css">
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#404040;}
</style>
<path id="Form_503_Kopie_7" class="st0" d="M35,0.55c-0.7-0.72-1.86-0.74-2.58-0.04c-0.01,0.01-0.03,0.03-0.04,0.04
c-0.71,0.73-0.71,1.9,0,2.63l13.29,13.44H1.83c-1.02,0-1.84,0.83-1.84,1.85c0,0,0,0.01,0,0.01c-0.01,1.03,0.81,1.87,1.84,1.89h43.84
L32.38,33.78c-0.71,0.74-0.71,1.91,0,2.65c0.7,0.72,1.86,0.74,2.58,0.04c0.01-0.01,0.03-0.03,0.04-0.04l16.43-16.62
c0.72-0.71,0.73-1.87,0.02-2.6c-0.01-0.01-0.01-0.01-0.02-0.02L35,0.55z"/>
</svg>

After

Width:  |  Height:  |  Size: 883 B

View file

@ -1965,7 +1965,7 @@ nav > ul > li .nav-first-level-opener::after {
width: 0.88889rem; width: 0.88889rem;
height: 0.88889rem; height: 0.88889rem;
font-size: 1.44444rem; font-size: 1.44444rem;
background-image: url(../img/arrow-right-grey.svg); background-image: url(img/arrow-right-grey.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; background-size: contain;

View file

@ -0,0 +1,9 @@
<section class="footer-bottom">
<?php
wp_nav_menu( array(
'theme_location' => 'Footer Menu',
'menu_class' => 'content-wrap',
'depth' => 1
) );
?>
</section>