This commit is contained in:
2020-03-10 09:25:35 +08:00
parent 7eb9dacc2e
commit 96825342a1
2 changed files with 6 additions and 1 deletions
+5 -1
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)); ?>