rss link moved to footer
This commit is contained in:
parent
96825342a1
commit
fe7b9c43fb
@ -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)); ?>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user