header components: use site_url to redirect to the site url

Fix #19
This commit is contained in:
Kazhnuz 2018-10-24 21:12:43 +02:00
parent adc25a51b7
commit d540cee847
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<section class="container-fluid">
<h1><a href="https://quarante-douze.net/"><img src="<?php echo get_template_directory_uri();?>/img/logo.png"></a></h1>
<h1><a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/img/logo.png"></a></h1>
</section>

View File

@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="#" id="" ><img src="<?php echo get_template_directory_uri();?>/img/brand-icon.png" alt="Quarante-Douze"></a>
<a class="navbar-brand" href="<?php echo site_url(); ?>" id="" ><img src="<?php echo get_template_directory_uri();?>/img/brand-icon.png" alt="Quarante-Douze"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>