not show main link if frontpage
This commit is contained in:
parent
4f6110d8da
commit
af32049c99
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user