rss link
This commit is contained in:
parent
7eb9dacc2e
commit
96825342a1
@ -9,7 +9,11 @@ get_header(); ?>
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( have_posts() ) {
|
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
|
// 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)); ?>
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri() ?>" />
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri() ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png" />
|
<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>
|
<title>
|
||||||
<?php if(is_front_page() || is_home()){
|
<?php if(is_front_page() || is_home()){
|
||||||
echo get_bloginfo('name');
|
echo get_bloginfo('name');
|
||||||
|
Loading…
Reference in New Issue
Block a user