This commit is contained in:
Pavel Kuleshov 2020-03-10 09:25:35 +08:00
parent 7eb9dacc2e
commit 96825342a1
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -4,6 +4,7 @@
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<link rel="stylesheet" href="<?php echo get_stylesheet_uri() ?>" />
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png" />
<link rel="alternate" type="application/rss+xml" title='<?php echo get_bloginfo('name'); ?>' href='<?php bloginfo('rss2_url'); ?>' />
<title>
<?php if(is_front_page() || is_home()){
echo get_bloginfo('name');