not show main link if frontpage

This commit is contained in:
Pavel Kuleshov 2020-03-09 08:54:03 +08:00
parent 4f6110d8da
commit af32049c99

View File

@ -1,7 +1,9 @@
<div class="footer"> <div class="footer">
<strong>© 2020</strong> <strong>© 2020</strong>
<div class="right"> <div class="right">
<a href="/">Главная</a> <?php if(!is_front_page() || !is_home()){
echo "<a href='/'>Главная</a>";
}?>
</div> </div>
</div> </div>
</body> </body>