rss link moved to footer

This commit is contained in:
Pavel Kuleshov 2020-03-10 09:34:24 +08:00
parent 96825342a1
commit fe7b9c43fb
2 changed files with 3 additions and 5 deletions

View File

@ -9,11 +9,7 @@ get_header(); ?>
<?php
if ( have_posts() ) {
echo
"<h1>",
the_title(),
"<div class='right'><a href='", bloginfo('rss2_url'), "'>RSS</a></div>",
"</h1>";
echo "<h1>", the_title(), "</h1>";
}
// the query
$wpb_all_query = new WP_Query(array('post_type'=>'post', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>

View File

@ -6,6 +6,8 @@
}?>
<?php if(!is_page('archive')){
echo "<a href='/archive/'>Архив</a>";
} else {
echo "<a href='", bloginfo('rss2_url'), "'>RSS</a>";
}?>
</div>
</div>