rss link moved to footer
This commit is contained in:
parent
96825342a1
commit
fe7b9c43fb
@ -9,11 +9,7 @@ get_header(); ?>
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( have_posts() ) {
|
if ( have_posts() ) {
|
||||||
echo
|
echo "<h1>", the_title(), "</h1>";
|
||||||
"<h1>",
|
|
||||||
the_title(),
|
|
||||||
"<div class='right'><a href='", bloginfo('rss2_url'), "'>RSS</a></div>",
|
|
||||||
"</h1>";
|
|
||||||
}
|
}
|
||||||
// the query
|
// the query
|
||||||
$wpb_all_query = new WP_Query(array('post_type'=>'post', 'post_status'=>'publish', 'posts_per_page'=>-1)); ?>
|
$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')){
|
<?php if(!is_page('archive')){
|
||||||
echo "<a href='/archive/'>Архив</a>";
|
echo "<a href='/archive/'>Архив</a>";
|
||||||
|
} else {
|
||||||
|
echo "<a href='", bloginfo('rss2_url'), "'>RSS</a>";
|
||||||
}?>
|
}?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user