Permalink
Browse files

Consolidated comment feeds in footer

  • Loading branch information...
splorp committed Nov 3, 2013
1 parent 8dcbd2d commit da759d7938716251d5d113f7901d3daff9df01fc
Showing with 8 additions and 9 deletions.
  1. +8 −5 footer.php
  2. +0 −2 image.php
  3. +0 −2 single.php
View
@@ -26,13 +26,16 @@
<?php endif; ?>
</ul>
<?php endif; ?>
- <p>
- Subscribe to <a href="<?php bloginfo('rss2_url'); ?>" rel="alternate" title="Feed me.">Posts (RSS)</a> or
- <a href="<?php bloginfo('comments_rss2_url'); ?>" rel="alternate" title="Feed me.">Comments (RSS)</a>
- </p>
+ <ul>
+ <li>Subscribe to <a href="<?php bloginfo('rss2_url'); ?>" rel="alternate" title="Feed me.">all posts</a> (RSS)</li>
+ <li>Subscribe to <a href="<?php bloginfo('comments_rss2_url'); ?>" rel="alternate" title="Feed me.">all comments</a> (RSS)</li>
+ <?php if (is_singular()): ?>
+ <li>Subscribe to <a href="<?php echo get_post_comments_feed_link(); ?>" rel="alternate" title="Feed me.">comments for this page only</a> (RSS)</li>
+ <?php endif; ?>
+ </ul>
</footer>
<?php wp_footer(); ?>
</body>
-</html>
+</html>
View
@@ -30,8 +30,6 @@
<?php the_taxonomies(); ?>
- <p>You can follow comments on this item via the <?php post_comments_feed_link('RSS 2.0'); ?> feed.</p>
-
<?php if ( comments_open() && pings_open() ) { ?>
<p>Feel free to <a href="#comment" title="Contribute to the discussion">leave a comment</a> below or <a href="<?php trackback_url(); ?>" title="Send a notification when you refer to this entry">trackback</a> from your own site.</p>
View
@@ -29,8 +29,6 @@
<li><?php the_category('</li><li>') ?></li>
</ul>
- <p>You can follow comments on this item via the <?php post_comments_feed_link('RSS 2.0'); ?> feed.</p>
-
<?php if ( comments_open() && pings_open() ) { ?>
<p>Feel free to <a href="#comment" title="Contribute to the discussion">leave a comment</a> below or <a href="<?php trackback_url(); ?>" title="Send a notification when you refer to this entry">trackback</a> from your own site.</p>

0 comments on commit da759d7

Please sign in to comment.