wordpress-zerro/footer.php

16 lines
460 B
PHP
Raw Normal View History

2020-03-07 16:15:15 +08:00
<div class="footer">
2020-03-17 15:46:06 +08:00
<strong><a href="https://github.com/3err0/wordpress-zerro" target="_blank">©</a> 2020</strong>
2020-03-08 18:41:16 +08:00
<div class="right">
2020-03-09 08:54:03 +08:00
<?php if(!is_front_page() || !is_home()){
2020-03-09 10:02:12 +08:00
echo "<a href='/'>Главная</a> /";
}?>
2020-03-09 10:21:20 +08:00
<?php if(!is_page('archive')){
echo "<a href='/archive/'>Архив</a>";
2020-03-10 09:34:24 +08:00
} else {
echo "<a href='", bloginfo('rss2_url'), "'>RSS</a>";
2020-03-09 10:21:20 +08:00
}?>
2020-03-08 18:41:16 +08:00
</div>
2020-03-07 16:15:15 +08:00
</div>
2020-03-07 15:49:14 +08:00
</body>
</html>